Skip to main content

TransformAttachment

TransformAttachment

Controls Transform the entity it is attached to, enables transformation hierarchy.

Kind: global class

transformAttachment.transform : Transform

Transform relative to the attachment target. Think of this as "local transform".

Kind: instance property of TransformAttachment

transformAttachment.parent : number

Which entity to attach to, this is what our transform is relative to.

Kind: instance property of TransformAttachment

transformAttachment.flags : number

Do not modify directly, see TransformAttachmentFlags.

Kind: instance property of TransformAttachment

transformAttachment.immediate

Kind: instance property of TransformAttachment

ParamType
vboolean

transformAttachment.isTransformAttachment : boolean

Kind: instance property of TransformAttachment
Read only: true

transformAttachment.setFlag(flag) ⇒ void

Kind: instance method of TransformAttachment

ParamType
flagnumber | TransformAttachmentFlags

transformAttachment.clearFlag(flag) ⇒ void

Kind: instance method of TransformAttachment

ParamType
flagnumber | TransformAttachmentFlags

transformAttachment.writeFlag(flag, value)

Kind: instance method of TransformAttachment

ParamType
flagnumber | TransformAttachmentFlags
valueboolean

transformAttachment.getFlag(flag) ⇒ boolean

Kind: instance method of TransformAttachment

ParamType
flagnumber | TransformAttachmentFlags

TransformAttachment.typeName : string

Kind: static property of TransformAttachment
Read only: true