Class
CharacterMesh
Modifies the appearance of an R6 body part.
This property modifies the appearance of an R6 body part. It has no effect in R15 characters.
Properties 7#
BaseTextureContentContent | The base texture applied to the mesh, as a Content value.ReadSafe |
BaseTextureIdint64 | The texture of a CharacterMesh. It can be overridden by Shirts, Pants,
T-Shirts, and the CharacterMesh.OverlayTextureId property.ReadSafe |
BodyPartBodyPart | The part of the Character's body that is affected.ReadSafe |
MeshContentContent | The mesh applied to the body part given by CharacterMesh.BodyPart,
as a Content value.ReadSafe |
MeshIdint64 | Used to load a mesh file, and apply it to the given BodyPart.ReadSafe |
OverlayTextureContentContent | The overlay texture that covers Shirts, Pants, T-Shirts, and the base
texture, as a Content value.ReadSafe |
OverlayTextureIdint64 | The assetId of the overlay texture. The overlay covers Shirts, Pants,
T-Shirts, and the CharacterMesh.BaseTextureId.ReadSafe |
BaseTextureContent: Content#
ReadSafe
The Content-typed equivalent of
CharacterMesh.BaseTextureId, holding the base texture applied to
the R6 body part's mesh. Supports
asset URIs. Can be
overridden by Shirts, Pants, T-Shirts, and
CharacterMesh.OverlayTextureContent. Defaults to empty
Content.
Underlying storage for legacy CharacterMesh.BaseTextureId: the two
stay in sync. Like the rest of CharacterMesh, it only affects R6
characters.
BaseTextureId: int64#
ReadSafe
The texture of a CharacterMesh. It can be overridden by Shirts, Pants,
T-Shirts, and the CharacterMesh.OverlayTextureId property.
BodyPart: BodyPart#
ReadSafe
The part of the Character's body that is affected.
MeshContent: Content#
ReadSafe
The Content-typed equivalent of CharacterMesh.MeshId.
Loads a mesh and applies it to the body part given by
CharacterMesh.BodyPart. Supports
asset URIs. Defaults to
empty Content.
Underlying storage for legacy CharacterMesh.MeshId: the two stay
in sync. Like the rest of CharacterMesh, it only affects R6
characters.
MeshId: int64#
ReadSafe
Used to load a mesh file, and apply it to the given BodyPart.
OverlayTextureContent: Content#
ReadSafe
The Content-typed equivalent of
CharacterMesh.OverlayTextureId. The overlay covers Shirts, Pants,
T-Shirts, and CharacterMesh.BaseTextureContent. Supports
asset URIs. Defaults to
empty Content.
Setting either OverlayTextureContent or
CharacterMesh.OverlayTextureId updates the other; both reflect the
same texture. Like the rest of CharacterMesh, it only affects R6
characters.
OverlayTextureId: int64#
ReadSafe
The assetId of the overlay texture. The overlay covers Shirts, Pants,
T-Shirts, and the CharacterMesh.BaseTextureId.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild