Share via


IMDLTransformComponent.CreateGlobalTransform<T> Method

Definition

Creates and returns a global transform for the specified object at the specified time.

[Foundation.Export("globalTransformWithObject:atTime:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.NMatrix4 CreateGlobalTransform<T>(ModelIO.MDLObject obj, double atTime) where T : Foundation.NSObject, ModelIO.IMDLTransformComponent;
[<Foundation.Export("globalTransformWithObject:atTime:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateGlobalTransform : ModelIO.MDLObject * double -> CoreGraphics.NMatrix4 (requires 'T :> Foundation.NSObject and 'T :> ModelIO.IMDLTransformComponent)

Type Parameters

T

Parameters

obj
MDLObject

The object that represents the spatial transform.

atTime
Double

The time at which to apply the transform.

Returns

Attributes

Applies to