MDLAsset.GetObject 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.
Overloads
| Name | Description |
|---|---|
| GetObject(String) | |
| GetObject(UIntPtr) |
Returns the object at the specified index. |
GetObject(String)
[Foundation.Export("objectAtPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.MDLObject GetObject(string atPath);
[<Foundation.Export("objectAtPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetObject : string -> ModelIO.MDLObject
override this.GetObject : string -> ModelIO.MDLObject
Parameters
- atPath
- String
Returns
- Attributes
Applies to
GetObject(UIntPtr)
Returns the object at the specified index.
[Foundation.Export("objectAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.MDLObject GetObject(UIntPtr index);
[<Foundation.Export("objectAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetObject : unativeint -> ModelIO.MDLObject
override this.GetObject : unativeint -> ModelIO.MDLObject
Parameters
- index
-
UIntPtr
unativeint
Returns
- Attributes