Struct ObjectAttachmentSlotData
Represents attachment data for an object attached to a player bone.
public readonly struct ObjectAttachmentSlotData
- Inherited Members
Constructors
ObjectAttachmentSlotData(int, int, Vector3, Vector3, Vector3, Colour, Colour)
Initializes a new instance of the ObjectAttachmentSlotData struct.
public ObjectAttachmentSlotData(int model, int bone, Vector3 offset, Vector3 rotation, Vector3 scale, Colour colour1, Colour colour2)
Parameters
modelintThe model ID of the attached object.
boneintThe bone ID to which the object is attached.
offsetVector3The offset of the object relative to the bone.
rotationVector3The rotation of the object relative to the bone.
scaleVector3The scale of the attached object.
colour1ColourThe primary color of the attached object.
colour2ColourThe secondary color of the attached object.
Fields
Bone
Gets the bone ID to which the object is attached.
public readonly int Bone
Field Value
Colour1
Gets the primary color of the attached object.
public readonly Colour Colour1
Field Value
Colour2
Gets the secondary color of the attached object.
public readonly Colour Colour2
Field Value
Model
Gets the model ID of the attached object.
public readonly int Model
Field Value
Offset
Gets the offset of the object relative to the bone.
public readonly Vector3 Offset
Field Value
Rotation
Gets the rotation of the object relative to the bone.
public readonly Vector3 Rotation
Field Value
Scale
Gets the scale of the attached object.
public readonly Vector3 Scale