Share via


MDLTransformStack.CreateGlobalTransform(MDLObject, Double) Method

Definition

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

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

Parameters

obj
MDLObject

The object that represents the spatial transform.

atTime
Double

The time at which to apply the transform.

Returns

Attributes

Applies to