Roblox Wiki
Roblox Wiki
36,964
pages

The EditableMesh class, added in 602 (November 2023), inherits from Object. From version 602 (November 2023) to version 648 (October 2024), this class inherited from DataModelMesh. It cannot be instantiated as it is not an instance.

Properties

FixedSize: bool

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/FixedSize.
  • Category: Data.
  • Write security: RobloxSecurity.
  • Serialization: can save only.
  • Thread safety: read safe

SkinningEnabled: bool

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SkinningEnabled.
  • Category: Data.
  • Serialization: can save and load.
  • Thread safety: read safe

Methods

AddBone(boneProperties: Dictionary): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/AddBone.
  • Thread safety: unsafe

AddColor(color: Color3, alpha: float): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/AddColor.
  • Thread safety: unsafe

AddFace(vertexIds: Array): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/AddFace.
  • Thread safety: unsafe

AddNormal(normal: Vector3?): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/AddNormal.
  • Thread safety: unsafe

AddTriangle(vertexId0: int64, vertexId1: int64, vertexId2: int64): int64

Parameters
NameType
vertexId0int64
vertexId1int64
vertexId2int64
  • Thread safety: unsafe

AddUV(uv: Vector2): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/AddUV.
  • Thread safety: unsafe

AddVertex(p: Vector3): int64

Parameters
NameType
pVector3
  • Thread safety: unsafe

Destroy(): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/Destroy.
  • Thread safety: unsafe

FindClosestPointOnSurface(point: Vector3): Tuple

Parameters
NameType
pointVector3
  • Thread safety: unsafe

FindClosestVertex(toThisPoint: Vector3): int64

Parameters
NameType
toThisPointVector3
  • Thread safety: unsafe

FindVerticesWithinSphere(center: Vector3, radius: float): Array

Parameters
NameType
centerVector3
radiusfloat
  • Thread safety: unsafe

GetAdjacentFaces(faceId: int64): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetAdjacentFaces.
  • Thread safety: unsafe

GetAdjacentVertices(vertexId: int64): Array

Parameters
NameType
vertexIdint64
  • Thread safety: unsafe

GetBoneByName(boneName: string): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetBoneByName.
  • Thread safety: unsafe

GetBoneCFrame(boneId: int64): CFrame

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetBoneCFrame.
  • Thread safety: unsafe

GetBoneIsVirtual(boneId: int64): bool

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetBoneIsVirtual.
  • Thread safety: unsafe

GetBoneName(boneId: int64): string

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetBoneName.
  • Thread safety: unsafe

GetBoneParent(boneId: int64): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetBoneParent.
  • Thread safety: unsafe

GetBones(): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetBones.
  • Thread safety: unsafe

GetCenter(): Vector3

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetCenter.
  • Thread safety: unsafe

GetColor(colorId: int64): Color3?

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetColor.
  • Thread safety: unsafe

GetColorAlpha(colorId: int64): float?

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetColorAlpha.
  • Thread safety: unsafe

GetColors(): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetColors.
  • Thread safety: unsafe

GetFaceColors(faceId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFaceColors.
  • Thread safety: unsafe

GetFaceNormals(faceId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFaceNormals.
  • Thread safety: unsafe

GetFaceUVs(faceId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFaceUVs.
  • Thread safety: unsafe

GetFaceVertices(faceId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFaceVertices.
  • Thread safety: unsafe

GetFaces(): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFaces.
  • Thread safety: unsafe

GetFacesWithAttribute(id: int64): Array

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacesWithAttribute.
  • Thread safety: unsafe

GetFacesWithColor(colorId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacesWithColor.
  • Thread safety: unsafe

GetFacesWithNormal(normalId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacesWithNormal.
  • Thread safety: unsafe

GetFacesWithUV(uvId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacesWithUV.
  • Thread safety: unsafe

GetFacsCorrectivePose(actions: Array): Tuple

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacsCorrectivePose.
  • Thread safety: unsafe

GetFacsCorrectivePoses(): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacsCorrectivePoses.
  • Thread safety: unsafe

GetFacsPose(action: FacsActionUnit): Tuple

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacsPose.
  • Thread safety: unsafe

GetFacsPoses(): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetFacsPoses.
  • Thread safety: unsafe

GetNormal(normalId: int64): Vector3?

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetNormal.
  • Thread safety: unsafe

GetNormals(): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetNormals.
  • Thread safety: unsafe

GetPosition(vertexId: int64): Vector3

Parameters
NameType
vertexIdint64
  • Thread safety: unsafe

GetSize(): Vector3

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetSize.
  • Thread safety: unsafe

GetUV(uvId: int64): Vector2?

Parameters
NameType
uvIdint64
  • Thread safety: unsafe

GetUVs(): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetUVs.
  • Thread safety: unsafe

GetVertexBoneWeights(vertexId: int64): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexBoneWeights.
  • Thread safety: unsafe

GetVertexBones(vertexId: int64): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexBones.
  • Thread safety: unsafe

GetVertexColors(vertexId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexColors.
  • Thread safety: unsafe

GetVertexFaceColor(vertexId: int64, faceId: int64): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexFaceColor.
  • Thread safety: unsafe

GetVertexFaceNormal(vertexId: int64, faceId: int64): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexFaceNormal.
  • Thread safety: unsafe

GetVertexFaceUV(vertexId: int64, faceId: int64): int64

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexFaceUV.
  • Thread safety: unsafe

GetVertexFaces(vertexId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexFaces.
  • Thread safety: unsafe

GetVertexNormals(vertexId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexNormals.
  • Thread safety: unsafe

GetVertexUVs(vertexId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertexUVs.
  • Thread safety: unsafe

GetVertices(): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVertices.
  • Thread safety: unsafe

GetVerticesWithAttribute(id: int64): Array

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVerticesWithAttribute.
  • Thread safety: unsafe

GetVerticesWithColor(colorId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVerticesWithColor.
  • Thread safety: unsafe

GetVerticesWithNormal(normalId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVerticesWithNormal.
  • Thread safety: unsafe

GetVerticesWithUV(uvId: int64): Array

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/GetVerticesWithUV.
  • Thread safety: unsafe

IdDebugString(id: int64): string

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/IdDebugString.
  • Thread safety: unsafe

MergeVertices(mergeTolerance: float): Map

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/MergeVertices.
  • Thread safety: unsafe

RaycastLocal(origin: Vector3, direction: Vector3): Tuple

Parameters
NameType
originVector3
directionVector3
  • Thread safety: unsafe

RemoveBone(boneId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/RemoveBone.
  • Thread safety: unsafe

RemoveFace(faceId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/RemoveFace.
  • Thread safety: unsafe

RemoveUnused(): Array

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/RemoveUnused.
  • Thread safety: unsafe

ResetNormal(normalId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/ResetNormal.
  • Thread safety: unsafe

SetBoneCFrame(boneId: int64, cframe: CFrame): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetBoneCFrame.
  • Thread safety: unsafe

SetBoneIsVirtual(boneId: int64, virtual: bool): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetBoneIsVirtual.
  • Thread safety: unsafe

SetBoneName(boneId: int64, name: string): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetBoneName.
  • Thread safety: unsafe

SetBoneParent(boneId: int64, parentBoneId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetBoneParent.
  • Thread safety: unsafe

SetColor(colorId: int64, color: Color3): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetColor.
  • Thread safety: unsafe

SetColorAlpha(colorId: int64, alpha: float): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetColorAlpha.
  • Thread safety: unsafe

SetFaceColors(faceId: int64, ids: Array): null

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFaceColors.
  • Thread safety: unsafe

SetFaceNormals(faceId: int64, ids: Array): null

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFaceNormals.
  • Thread safety: unsafe

SetFaceUVs(faceId: int64, ids: Array): null

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFaceUVs.
  • Thread safety: unsafe

SetFaceVertices(faceId: int64, ids: Array): null

  • Custom Lua stateThis member uses the Lua C API directly.
This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFaceVertices.
  • Thread safety: unsafe

SetFacsBonePose(action: FacsActionUnit, boneId: int64, cframe: CFrame): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFacsBonePose.
  • Thread safety: unsafe

SetFacsCorrectivePose(actions: Array, boneIds: Array, cframes: Array): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFacsCorrectivePose.
  • Thread safety: unsafe

SetFacsPose(action: FacsActionUnit, boneIds: Array, cframes: Array): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetFacsPose.
  • Thread safety: unsafe

SetNormal(normalId: int64, normal: Vector3): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetNormal.
  • Thread safety: unsafe

SetPosition(vertexId: int64, p: Vector3): null

Parameters
NameType
vertexIdint64
pVector3
  • Thread safety: unsafe

SetUV(uvId: int64, uv: Vector2): null

Parameters
NameType
uvIdint64
uvVector2
  • Thread safety: unsafe

SetVertexBoneWeights(vertexId: int64, boneWeights: Array): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetVertexBoneWeights.
  • Thread safety: unsafe

SetVertexBones(vertexId: int64, boneIDs: Array): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetVertexBones.
  • Thread safety: unsafe

SetVertexFaceColor(vertexId: int64, faceId: int64, colorId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetVertexFaceColor.
  • Thread safety: unsafe

SetVertexFaceNormal(vertexId: int64, faceId: int64, normalId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetVertexFaceNormal.
  • Thread safety: unsafe

SetVertexFaceUV(vertexId: int64, faceId: int64, uvId: int64): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/SetVertexFaceUV.
  • Thread safety: unsafe

Triangulate(): null

This class member is missing documentation. Create or add to its subpage at Class:EditableMesh/Triangulate.
  • Thread safety: unsafe

Removed members

External links[]