Class PhysicsShapeConversionSystem
Inheritance
System.Object
PhysicsShapeConversionSystem
Syntax
public class PhysicsShapeConversionSystem : BaseShapeConversionSystem<PhysicsShape>
Methods
GetCustomFlags(PhysicsShape)
Declaration
protected override byte GetCustomFlags(PhysicsShape shape)
Parameters
Returns
Type |
Description |
System.Byte |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.GetCustomFlags(Unity.Physics.Authoring.PhysicsShape)
GetPrimaryBody(PhysicsShape)
Declaration
protected override GameObject GetPrimaryBody(PhysicsShape shape)
Parameters
Returns
Type |
Description |
GameObject |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.GetPrimaryBody(Unity.Physics.Authoring.PhysicsShape)
ProduceColliderBlob(PhysicsShape)
Declaration
protected override BlobAssetReference<Collider> ProduceColliderBlob(PhysicsShape shape)
Parameters
Returns
Type |
Description |
BlobAssetReference<Collider> |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.ProduceColliderBlob(Unity.Physics.Authoring.PhysicsShape)
ShouldConvertShape(PhysicsShape)
Declaration
protected override bool ShouldConvertShape(PhysicsShape shape)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.ShouldConvertShape(Unity.Physics.Authoring.PhysicsShape)