DataModelMesh
Provides mesh scale, offset, texture, and vertex-color properties.
- Creatable
Instance.new("DataModelMesh")- Inherits
- Instance
- Replication
- Standard
Behavior
DataModelMesh provides mesh scale, offset, texture, and vertex-color properties.
Summary
The mesh detail setting used for its horizontal subdivision.
The mesh detail setting used for its vertical subdivision.
The local offset applied to the rendered mesh.
The per-axis scale of the rendered mesh.
The asset identifier of the mesh texture.
The color multiplier applied to mesh vertices.
Returns this instance if it is an ExecutionGroup.
Properties
LODX
DataModelMesh.LODX: Enum.LevelOfDetailSetting = Enum.LevelOfDetailSetting.HighThe mesh detail setting used for its horizontal subdivision.
LODY
DataModelMesh.LODY: Enum.LevelOfDetailSetting = Enum.LevelOfDetailSetting.HighThe mesh detail setting used for its vertical subdivision.
Offset
DataModelMesh.Offset: Vector3 = Vector3.new(0, 0, 0)The local offset applied to the rendered mesh.
Scale
DataModelMesh.Scale: Vector3 = Vector3.new(1, 1, 1)The per-axis scale of the rendered mesh.
TextureId
DataModelMesh.TextureId: stringThe asset identifier of the mesh texture.
VertexColor
DataModelMesh.VertexColor: Vector3 = Vector3.new(1, 1, 1)The color multiplier applied to mesh vertices.
Methods
GetExecutionGroup
DataModelMesh:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying
Subclasses
BevelMesh · FileMesh · SpecialMesh