編輯

共用方式為


MDLAsset.GetObject Method

Definition

Overloads

GetObject(nuint)

Returns the object at the specified index.

GetObject(String)

GetObject(nuint)

Returns the object at the specified index.

[Foundation.Export("objectAtIndex:")]
public virtual ModelIO.MDLObject GetObject (nuint index);
abstract member GetObject : nuint -> ModelIO.MDLObject
override this.GetObject : nuint -> ModelIO.MDLObject

Parameters

index
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

GetObject(String)

[Foundation.Export("objectAtPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ModelIO.MDLObject GetObject (string atPath);
abstract member GetObject : string -> ModelIO.MDLObject
override this.GetObject : string -> ModelIO.MDLObject

Parameters

atPath
String

Returns

Attributes

Applies to