Edytuj

Udostępnij za pośrednictwem


MDLTransformComponent_Extensions Class

Definition

Extension methods to the IMDLTransformComponent interface to support all the methods from the IMDLTransformComponent protocol.

public static class MDLTransformComponent_Extensions
type MDLTransformComponent_Extensions = class
Inheritance
MDLTransformComponent_Extensions

Remarks

The extension methods for IMDLTransformComponent allow developers to treat instances of the interface as having all the optional methods of the original IMDLTransformComponent protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetKeyTimes(IMDLTransformComponent)
GetLocalTransform(IMDLTransformComponent, Double)

Gets the local transform at the specified time.

GetLocalTransform4x4(IMDLTransformComponent, Double)

Gets the local transform at the specified time.

GetMatrix4x4(IMDLTransformComponent)

Gets the local transform matrix at the specified time.

GetResetsTransform(IMDLTransformComponent)
SetLocalTransform(IMDLTransformComponent, Matrix4, Double)
SetLocalTransform(IMDLTransformComponent, Matrix4)

Replaces all transform information, including time-based transforms, with the specified static transform.

SetLocalTransform4x4(IMDLTransformComponent, NMatrix4, Double)

Inserts the specified transform at the specified time.

SetLocalTransform4x4(IMDLTransformComponent, NMatrix4)

Replaces all transform information, including time-based transforms, with the specified static transform.

SetMatrix4x4(IMDLTransformComponent, NMatrix4)

Sets the transform matrix from local space to parent space.

SetResetsTransform(IMDLTransformComponent, Boolean)

Inserts the specified transform at the specified time.

Applies to