SCNGeometry.Create 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 |
|---|---|
| Create() | |
| Create(SCNGeometrySource[], SCNGeometryElement[]) | |
| Create(SCNGeometrySource[], SCNGeometryElement[], Int32[]) |
Create()
[Foundation.Export("geometry")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometry Create();
[<Foundation.Export("geometry")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unit -> SceneKit.SCNGeometry
Returns
- Attributes
Applies to
Create(SCNGeometrySource[], SCNGeometryElement[])
[Foundation.Export("geometryWithSources:elements:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometry Create(SceneKit.SCNGeometrySource[] sources, SceneKit.SCNGeometryElement[]? elements);
[<Foundation.Export("geometryWithSources:elements:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : SceneKit.SCNGeometrySource[] * SceneKit.SCNGeometryElement[] -> SceneKit.SCNGeometry
Parameters
- sources
- SCNGeometrySource[]
- elements
- SCNGeometryElement[]
Returns
- Attributes
Applies to
Create(SCNGeometrySource[], SCNGeometryElement[], Int32[])
[Foundation.Export("geometryWithSources:elements:sourceChannels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometry Create(SceneKit.SCNGeometrySource[] sources, SceneKit.SCNGeometryElement[]? elements, int[]? sourceChannels);
[<Foundation.Export("geometryWithSources:elements:sourceChannels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : SceneKit.SCNGeometrySource[] * SceneKit.SCNGeometryElement[] * int[] -> SceneKit.SCNGeometry
Parameters
- sources
- SCNGeometrySource[]
- elements
- SCNGeometryElement[]
- sourceChannels
- Int32[]
Returns
- Attributes