IMDLTransformComponent.CreateGlobalTransform<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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