Ejemplo n.º 1
0
 public static SCNPhysicsShape Create(SCNGeometry geometry,
                                      SCNPhysicsShapeType?shapeType = null,
                                      bool?keepAsCompound           = null,
                                      SCNVector3?scale = null)
 {
     return(Create(geometry, new SCNPhysicsShapeOptions {
         ShapeType = shapeType,
         KeepAsCompound = keepAsCompound,
         Scale = scale
     }.ToDictionary()));
 }
Ejemplo n.º 2
0
 public static SCNPhysicsShape Create(SCNGeometry geometry,
     SCNPhysicsShapeType? shapeType = null,
     bool? keepAsCompound = null,
     SCNVector3? scale = null)
 {
     return Create (geometry, new SCNPhysicsShapeOptions {
         ShapeType = shapeType,
         KeepAsCompound = keepAsCompound,
         Scale = scale
     }.ToDictionary ());
 }
Ejemplo n.º 3
0
 public static SCNSkinner Create(SCNGeometry baseGeometry,
     SCNNode [] bones, SCNMatrix4 [] boneInverseBindTransforms,
     SCNGeometrySource boneWeights, SCNGeometrySource boneIndices)
 {
     return _Create (
         baseGeometry,
         bones,
         ToNSArray (boneInverseBindTransforms),
         boneWeights,
         boneIndices
     );
 }
Ejemplo n.º 4
0
 public static SCNSkinner Create(SCNGeometry baseGeometry,
                                 SCNNode [] bones, SCNMatrix4 [] boneInverseBindTransforms,
                                 SCNGeometrySource boneWeights, SCNGeometrySource boneIndices)
 {
     return(_Create(
                baseGeometry,
                bones,
                ToNSArray(boneInverseBindTransforms),
                boneWeights,
                boneIndices
                ));
 }
Ejemplo n.º 5
0
 public static SCNPhysicsShape Create(SCNGeometry geometry, SCNPhysicsShapeOptions options)
 {
     return(Create(geometry, options.ToDictionary()));
 }
Ejemplo n.º 6
0
 public static SCNPhysicsShape Create(SCNGeometry geometry, SCNPhysicsShapeOptions options)
 {
     return Create (geometry, options.ToDictionary ());
 }