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
Create(SCNNode, Nullable<SCNPhysicsShapeType>, Nullable<Boolean>, Nullable<SCNVector3>) |
Creates and returns a new physics shape from the specified values. |
Create(SCNGeometry, Nullable<SCNPhysicsShapeType>, Nullable<Boolean>, Nullable<SCNVector3>) |
Creates and returns a new physics shape from the specified values. |
Create(SCNPhysicsShape[], SCNVector3[]) |
Obsolete.
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(SCNNode, SCNPhysicsShapeOptions) |
Creates and returns a new physics shape from the specified |
Create(SCNNode, NSDictionary) |
Creates and returns a new physics shape from the specified |
Create(SCNGeometry, SCNPhysicsShapeOptions) |
Creates and returns a new physics shape from the specified |
Create(SCNGeometry, NSDictionary) |
Creates and returns a new physics shape from the specified |
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, Nullable<SceneKit.SCNPhysicsShapeType> shapeType = null, Nullable<bool> keepAsCompound = null, Nullable<SceneKit.SCNVector3> scale = null);
static member Create : SceneKit.SCNNode * Nullable<SceneKit.SCNPhysicsShapeType> * Nullable<bool> * Nullable<SceneKit.SCNVector3> -> SceneKit.SCNPhysicsShape
Parameters
- node
- SCNNode
- shapeType
- Nullable<SCNPhysicsShapeType>
- scale
- Nullable<SCNVector3>
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, Nullable<SceneKit.SCNPhysicsShapeType> shapeType = null, Nullable<bool> keepAsCompound = null, Nullable<SceneKit.SCNVector3> scale = null);
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(SCNPhysicsShape[], SCNVector3[])
Caution
Use the 'Create' method that takes a 'SCNMatrix4 []'.
Creates and returns a new physics shape from the specified shapes
and transforms
.
[System.Obsolete("Use the 'Create' method that takes a 'SCNMatrix4 []'.")]
public static SceneKit.SCNPhysicsShape Create (SceneKit.SCNPhysicsShape[] shapes, SceneKit.SCNVector3[] transforms);
static member Create : SceneKit.SCNPhysicsShape[] * SceneKit.SCNVector3[] -> SceneKit.SCNPhysicsShape
Parameters
- shapes
- SCNPhysicsShape[]
- transforms
- SCNVector3[]
Returns
- Attributes
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(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(SCNNode, NSDictionary)
Creates and returns a new physics shape from the specified node
and options
.
[Foundation.Export("shapeWithNode:options:")]
public static SceneKit.SCNPhysicsShape Create (SceneKit.SCNNode node, Foundation.NSDictionary options);
static member Create : SceneKit.SCNNode * Foundation.NSDictionary -> SceneKit.SCNPhysicsShape
Parameters
- node
- SCNNode
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(SCNGeometry, NSDictionary)
Creates and returns a new physics shape from the specified geometry
and options
.
[Foundation.Export("shapeWithGeometry:options:")]
public static SceneKit.SCNPhysicsShape Create (SceneKit.SCNGeometry geometry, Foundation.NSDictionary options);
static member Create : SceneKit.SCNGeometry * Foundation.NSDictionary -> SceneKit.SCNPhysicsShape
Parameters
- geometry
- SCNGeometry
Returns
- Attributes