RobloxEditableMesh
概要
プロパティ
DataModelMesh から継承した プロパティThe Offset of a mesh determines the relative position from the BasePart.Position of a BasePart that the mesh will be displayed at.
The Scale of a mesh determines the size of the mesh relative to its original dimensions.
- 並列読み取り
Changes the hue of a mesh's texture, used with FileMesh.TextureId.
方法
EditableMesh から継承した 方法Adds a new triangle to the mesh and returns a stable triangle ID.
Adds a new vertex to the geometry and returns a stable vertex ID.
Finds the closest point on the mesh's surface.
Finds the closest vertex to a specific point in space.
Finds all vertices within a specific sphere.
Returns a list of triangles adjacent to a given triangle.
Returns a list of vertices adjacent to a given vertex.
Gets the position of a vertex.
Returns a triangle's three vertex IDs.
Returns all triangles of the mesh.
Returns UV coordinates at the given vertex.
Returns the color at the given vertex.
Returns the color alpha (transparency) at the given vertex.
Returns the normal at the given vertex.
Returns all vertices as a list of stable vertex IDs.
Removes a triangle using its stable triangle ID.
Removes a vertex using its stable vertex ID.
Sets a vertex position in the mesh's local object space.
Sets UV coordinates for a vertex.
Sets the color for a vertex.
Sets the color alpha (transparency) for a vertex.
Sets the normal for a vertex.