IMDLTransformComponent Interface
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.
This interface represents the Objective-C protocol MDLTransformComponent.
[Foundation.Protocol(Name="MDLTransformComponent", WrapperType=typeof(ModelIO.MDLTransformComponentWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetLocalTransform", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.NMatrix4), typeof(System.Double) }, Selector="setLocalTransform:forTime:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetLocalTransform", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.NMatrix4) }, Selector="setLocalTransform:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLocalTransform", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Double) }, ReturnType=typeof(CoreGraphics.NMatrix4), Selector="localTransformAtTime:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=true, Name="CreateGlobalTransform", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ModelIO.MDLObject), typeof(System.Double) }, ReturnType=typeof(CoreGraphics.NMatrix4), Selector="globalTransformWithObject:atTime:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="matrix", IsProperty=true, IsRequired=true, IsStatic=false, Name="Matrix", PropertyType=typeof(CoreGraphics.NMatrix4), Selector="matrix", SetterSelector="setMatrix:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="resetsTransform", IsProperty=true, IsRequired=true, IsStatic=false, Name="ResetsTransform", PropertyType=typeof(System.Boolean), Selector="resetsTransform", SetterSelector="setResetsTransform:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="minimumTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="MinimumTime", PropertyType=typeof(System.Double), Selector="minimumTime")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="maximumTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="MaximumTime", PropertyType=typeof(System.Double), Selector="maximumTime")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="keyTimes", IsProperty=true, IsRequired=true, IsStatic=false, Name="KeyTimes", PropertyType=typeof(Foundation.NSNumber[]), Selector="keyTimes")]
public interface IMDLTransformComponent : IDisposable, ModelIO.IMDLComponent
[<Foundation.Protocol(Name="MDLTransformComponent", WrapperType=typeof(ModelIO.MDLTransformComponentWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetLocalTransform", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.NMatrix4), typeof(System.Double) }, Selector="setLocalTransform:forTime:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetLocalTransform", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.NMatrix4) }, Selector="setLocalTransform:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLocalTransform", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Double) }, ReturnType=typeof(CoreGraphics.NMatrix4), Selector="localTransformAtTime:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=true, Name="CreateGlobalTransform", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ModelIO.MDLObject), typeof(System.Double) }, ReturnType=typeof(CoreGraphics.NMatrix4), Selector="globalTransformWithObject:atTime:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="matrix", IsProperty=true, IsRequired=true, IsStatic=false, Name="Matrix", PropertyType=typeof(CoreGraphics.NMatrix4), Selector="matrix", SetterSelector="setMatrix:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="resetsTransform", IsProperty=true, IsRequired=true, IsStatic=false, Name="ResetsTransform", PropertyType=typeof(System.Boolean), Selector="resetsTransform", SetterSelector="setResetsTransform:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="minimumTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="MinimumTime", PropertyType=typeof(System.Double), Selector="minimumTime")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="maximumTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="MaximumTime", PropertyType=typeof(System.Double), Selector="maximumTime")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="keyTimes", IsProperty=true, IsRequired=true, IsStatic=false, Name="KeyTimes", PropertyType=typeof(Foundation.NSNumber[]), Selector="keyTimes")>]
type IMDLTransformComponent = interface
interface INativeObject
interface IDisposable
interface IMDLComponent
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| KeyTimes | |
| Matrix |
Gets or sets the matrix of the transform at the earliest specified time. |
| MaximumTime |
Gets the last specified time in the transformation. |
| MinimumTime |
Gets the first specified time in the transformation. |
| ResetsTransform |
Inserts the specified transform at the specified time. |
Methods
| Name | Description |
|---|---|
| CreateGlobalTransform<T>(MDLObject, Double) |
Creates and returns a global transform for the specified object at the specified time. |
| GetLocalTransform(Double) |
Gets the local transform at the specified time. |
| SetLocalTransform(NMatrix4, Double) |
Causes this transform to represent the specified static transform. |
| SetLocalTransform(NMatrix4) |
Causes this transform to represent the specified static transform. |
Extension Methods
| Name | Description |
|---|---|
| GetLocalTransform(IMDLTransformComponent, Double) |
Gets the local transform at the specified time. |
| SetLocalTransform(IMDLTransformComponent, NMatrix4, Double) |
Causes this transform to represent the specified static transform. |
| SetLocalTransform(IMDLTransformComponent, NMatrix4) |
Causes this transform to represent the specified static transform. |
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |