Class PhysicsShapeConversionSystem
Inheritance
PhysicsShapeConversionSystem
Inherited Members
GameObjectConversionSystem.ShouldRunConversionSystem()
GameObjectConversionSystem.GetBuildConfigurationComponent<T>()
GameObjectConversionSystem.TryGetBuildConfigurationComponent<T>(T)
GameObjectConversionSystem.ShouldRunConversionSystem(System.Type)
GameObjectConversionSystem.BuildHasType(System.Type)
GameObjectConversionSystem.BuildHasType(System.Type[])
GameObjectConversionSystem.IsBuildingForEditor
GameObjectConversionSystem.BuildConfigurationGUID
Namespace: Unity.Physics.Authoring
Syntax
[UpdateAfter(typeof(BeginColliderConversionSystem))]
[UpdateBefore(typeof(BuildCompoundCollidersConversionSystem))]
[ConverterVersion("stewart", 6)]
public sealed class PhysicsShapeConversionSystem : BaseShapeConversionSystem<PhysicsShapeAuthoring>
Methods
GetPrimaryBody(PhysicsShapeAuthoring)
Declaration
protected override GameObject GetPrimaryBody(PhysicsShapeAuthoring shape)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsShapeAuthoring | shape |
Returns
| Type | Description |
|---|---|
| GameObject |
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShapeAuthoring>.GetPrimaryBody(Unity.Physics.Authoring.PhysicsShapeAuthoring)
ShouldConvertShape(PhysicsShapeAuthoring)
Declaration
protected override bool ShouldConvertShape(PhysicsShapeAuthoring shape)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsShapeAuthoring | shape |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShapeAuthoring>.ShouldConvertShape(Unity.Physics.Authoring.PhysicsShapeAuthoring)