SCNPhysicsShape.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(SCNGeometry, NSDictionary) | |
| Create(SCNGeometry, SCNPhysicsShapeOptions) |
Creates and returns a new physics shape from the specified |
| Create(SCNNode, NSDictionary) | |
| Create(SCNNode, SCNPhysicsShapeOptions) |
Creates and returns a new physics shape from the specified |
| Create(SCNPhysicsShape[], SCNMatrix4[]) |
Creates and returns a new physics shape by applying the specified |
| Create(SCNGeometry, Nullable<SCNPhysicsShapeType>, Nullable<Boolean>, Nullable<SCNVector3>) |
Creates and returns a new physics shape from the specified values. |
| Create(SCNNode, Nullable<SCNPhysicsShapeType>, Nullable<Boolean>, Nullable<SCNVector3>) |
Creates and returns a new physics shape from the specified values. |
Create(SCNGeometry, NSDictionary)
[Foundation.Export("shapeWithGeometry:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNGeometry geometry, Foundation.NSDictionary? options);
[<Foundation.Export("shapeWithGeometry:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : SceneKit.SCNGeometry * Foundation.NSDictionary -> SceneKit.SCNPhysicsShape
Parameters
- geometry
- SCNGeometry
- options
- NSDictionary
Returns
- Attributes
Applies to
Create(SCNGeometry, SCNPhysicsShapeOptions)
Creates and returns a new physics shape from the specified geometry and options.
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNGeometry geometry, SceneKit.SCNPhysicsShapeOptions? options);
static member Create : SceneKit.SCNGeometry * SceneKit.SCNPhysicsShapeOptions -> SceneKit.SCNPhysicsShape
Parameters
- geometry
- SCNGeometry
- options
- SCNPhysicsShapeOptions
Returns
Applies to
Create(SCNNode, NSDictionary)
[Foundation.Export("shapeWithNode:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNNode node, Foundation.NSDictionary? options);
[<Foundation.Export("shapeWithNode:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : SceneKit.SCNNode * Foundation.NSDictionary -> SceneKit.SCNPhysicsShape
Parameters
- node
- SCNNode
- options
- NSDictionary
Returns
- Attributes
Applies to
Create(SCNNode, SCNPhysicsShapeOptions)
Creates and returns a new physics shape from the specified node and options.
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNNode node, SceneKit.SCNPhysicsShapeOptions? options);
static member Create : SceneKit.SCNNode * SceneKit.SCNPhysicsShapeOptions -> SceneKit.SCNPhysicsShape
Parameters
- node
- SCNNode
- options
- SCNPhysicsShapeOptions
Returns
Applies to
Create(SCNPhysicsShape[], SCNMatrix4[])
Creates and returns a new physics shape by applying the specified transforms to the specified shapes shapes.
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNPhysicsShape[] shapes, SceneKit.SCNMatrix4[] transforms);
static member Create : SceneKit.SCNPhysicsShape[] * SceneKit.SCNMatrix4[] -> SceneKit.SCNPhysicsShape
Parameters
- shapes
- SCNPhysicsShape[]
A list of shapes to transform.
- transforms
- SCNMatrix4[]
A list of transforms to apply..
Returns
Applies to
Create(SCNGeometry, Nullable<SCNPhysicsShapeType>, Nullable<Boolean>, Nullable<SCNVector3>)
Creates and returns a new physics shape from the specified values.
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNGeometry geometry, SceneKit.SCNPhysicsShapeType? shapeType = default, bool? keepAsCompound = default, SceneKit.SCNVector3? scale = default);
static member Create : SceneKit.SCNGeometry * Nullable<SceneKit.SCNPhysicsShapeType> * Nullable<bool> * Nullable<SceneKit.SCNVector3> -> SceneKit.SCNPhysicsShape
Parameters
- geometry
- SCNGeometry
- shapeType
- Nullable<SCNPhysicsShapeType>
- scale
- Nullable<SCNVector3>
Returns
Applies to
Create(SCNNode, Nullable<SCNPhysicsShapeType>, Nullable<Boolean>, Nullable<SCNVector3>)
Creates and returns a new physics shape from the specified values.
public static SceneKit.SCNPhysicsShape Create(SceneKit.SCNNode node, SceneKit.SCNPhysicsShapeType? shapeType = default, bool? keepAsCompound = default, SceneKit.SCNVector3? scale = default);
static member Create : SceneKit.SCNNode * Nullable<SceneKit.SCNPhysicsShapeType> * Nullable<bool> * Nullable<SceneKit.SCNVector3> -> SceneKit.SCNPhysicsShape
Parameters
- node
- SCNNode
- shapeType
- Nullable<SCNPhysicsShapeType>
- scale
- Nullable<SCNVector3>