MDLSubmesh.FromGeometryElement 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
FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator) |
Creates a new submesh from the provided Scene Kit element. |
FromGeometryElement(SCNGeometryElement) |
Creates a new MDLSubmesh object from the specified Scene Kit geometry element. |
FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)
Creates a new submesh from the provided Scene Kit element.
[Foundation.Export("submeshWithSCNGeometryElement:bufferAllocator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLSubmesh FromGeometryElement (SceneKit.SCNGeometryElement element, ModelIO.IMDLMeshBufferAllocator bufferAllocator);
static member FromGeometryElement : SceneKit.SCNGeometryElement * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLSubmesh
Parameters
- element
- SCNGeometryElement
Returns
- Attributes
Applies to
FromGeometryElement(SCNGeometryElement)
Creates a new MDLSubmesh object from the specified Scene Kit geometry element.
[Foundation.Export("submeshWithSCNGeometryElement:")]
public static ModelIO.MDLSubmesh FromGeometryElement (SceneKit.SCNGeometryElement element);
static member FromGeometryElement : SceneKit.SCNGeometryElement -> ModelIO.MDLSubmesh
Parameters
- element
- SCNGeometryElement
Returns
- Attributes