Roblox UtilitiesDevlHub Roblox Documentation

Class

AccessoryDescription

Inherits
Instance › Object
Memory category
Instances

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#

AccessoryTypeAccessoryTypeThe AccessoryType of the Accessory referred to by this description.ReadSafe
AssetIdint64The asset ID that should be applied when applying this AccessoryDescription.ReadSafe
InstanceInstanceA reference to the Instance that should be applied when applying this AccessoryDescription.ReadSafe
IsLayeredbooleanWhether the Accessory is layered or rigid.ReadSafe
OrderintThe layered clothing sort order, if the Accessory is layered.ReadSafe
PositionVector3The accessory adjustment position offset, if the Accessory is rigid.ReadSafe
PuffinessfloatThe layered clothing puffiness, if the Accessory is layered.ReadSafe
RotationVector3The accessory adjustment rotation offset, if the Accessory is rigid.ReadSafe
ScaleVector3The 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#

GetAppliedInstanceReturns 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.

Returns

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed