Compartir a través de


MDLAsset.GetObject Method

Definition

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

Applies to