Edytuj

Udostępnij za pośrednictwem


SCNPhysicsShape.Create Method

Definition

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 shapes and transforms.

Create(SCNPhysicsShape[], SCNMatrix4[])

Creates and returns a new physics shape by applying the specified transforms to the specified shapes shapes.

Create(SCNNode, SCNPhysicsShapeOptions)

Creates and returns a new physics shape from the specified node and options.

Create(SCNNode, NSDictionary)

Creates and returns a new physics shape from the specified node and options.

Create(SCNGeometry, SCNPhysicsShapeOptions)

Creates and returns a new physics shape from the specified geometry and options.

Create(SCNGeometry, NSDictionary)

Creates and returns a new physics shape from the specified geometry and options.

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
keepAsCompound
Nullable<Boolean>

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
keepAsCompound
Nullable<Boolean>

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

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
options
NSDictionary

To be added.

This parameter can be null.

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

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
options
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to