편집

다음을 통해 공유


SCNScene.FromAsset(MDLAsset) Method

Definition

Creates and returns a new SceneKit scene from the provided Model IO asset.

[Foundation.Export("sceneWithMDLAsset:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNScene FromAsset (ModelIO.MDLAsset asset);
static member FromAsset : ModelIO.MDLAsset -> SceneKit.SCNScene

Parameters

asset
MDLAsset

Returns

Attributes

Applies to