Class
AccessoryDescription
Describes the appearance of an Accessory for the
HumanoidDescription.
AccessoryDescription is an object that stores the description for an
Accessory. It is meant to be placed underneath a
HumanoidDescription in order to work with
Humanoid:ApplyDescriptionAsync().
Properties 9#
AccessoryTypeAccessoryType | The AccessoryType of the Accessory referred to by this
description.ReadSafe |
AssetIdint64 | The asset ID that should be applied when applying this
AccessoryDescription.ReadSafe |
InstanceInstance | A reference to the Instance that should be applied when applying
this AccessoryDescription.ReadSafe |
IsLayeredboolean | Whether the Accessory is layered or rigid.ReadSafe |
Orderint | The layered clothing sort order, if the Accessory is layered.ReadSafe |
PositionVector3 | The accessory adjustment position offset, if the Accessory is
rigid.ReadSafe |
Puffinessfloat | The layered clothing puffiness, if the Accessory is layered.ReadSafe |
RotationVector3 | The accessory adjustment rotation offset, if the Accessory is
rigid.ReadSafe |
ScaleVector3 | The accessory adjustment scale, if the Accessory is rigid.ReadSafe |
AccessoryType: AccessoryType#
ReadSafe
The AccessoryType of the Accessory referred to by this
description.
AssetId: int64#
ReadSafe
The asset ID that should be applied when applying this
AccessoryDescription.
Instance: Instance#
ReadSafe
A reference to the Instance that should be applied when applying
this AccessoryDescription. This property can be used instead of
AssetId to apply accessories without
uploading them to the platform.
IsLayered: boolean#
ReadSafe
Whether the Accessory is layered or rigid. This is intended to be
read-only. It will be corrected after calling
Humanoid:ApplyDescriptionAsync() if this property doesn't match
the actual Accessory contents.
Order: int#
ReadSafe
The WrapLayer.Order value when applying the Accessory, if
it is layered.
Position: Vector3#
ReadSafe
The accessory adjustment position offset. Only applies if the
Accessory is rigid.
Puffiness: float#
DeprecatedReadSafe
The WrapLayer.Puffiness value when applying the Accessory,
if it is layered.
Rotation: Vector3#
ReadSafe
The accessory adjustment rotation offset. Only applies if the
Accessory is rigid.
Scale: Vector3#
ReadSafe
The accessory adjustment scale. Only applies if the Accessory is
rigid.
Methods 1#
| GetAppliedInstance | Returns the applied Accessory. |
GetAppliedInstance(): Instance#
Returns the applied Accessory if this AccessoryDescription
is the child of an applied HumanoidDescription parented to a
Humanoid. Throws an error if this AccessoryDescription is
not a child of a HumanoidDescription that has been applied to a
Humanoid, or if no matching applied instance is found.
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