Class BaseLegacyColliderConversionSystem<T>
Inheritance
System.Object
BaseLegacyColliderConversionSystem<T>
Syntax
public abstract class BaseLegacyColliderConversionSystem<T> : BaseShapeConversionSystem<T> where T : UnityEngine.Collider
Type Parameters
Methods
GetCustomFlags(T)
Declaration
protected override byte GetCustomFlags(T shape)
Parameters
Type |
Name |
Description |
T |
shape |
|
Returns
Type |
Description |
System.Byte |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<T>.GetCustomFlags(T)
GetPrimaryBody(T)
Declaration
protected override GameObject GetPrimaryBody(T shape)
Parameters
Type |
Name |
Description |
T |
shape |
|
Returns
Type |
Description |
GameObject |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<T>.GetPrimaryBody(T)
ProduceCollisionFilter(UnityEngine.Collider)
Declaration
protected static CollisionFilter ProduceCollisionFilter(UnityEngine.Collider collider)
Parameters
Type |
Name |
Description |
UnityEngine.Collider |
collider |
|
Returns
ProduceMaterial(UnityEngine.Collider)
Declaration
protected static Material ProduceMaterial(UnityEngine.Collider collider)
Parameters
Type |
Name |
Description |
UnityEngine.Collider |
collider |
|
Returns
ShouldConvertShape(T)
Declaration
protected override bool ShouldConvertShape(T shape)
Parameters
Type |
Name |
Description |
T |
shape |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Unity.Physics.Authoring.BaseShapeConversionSystem<T>.ShouldConvertShape(T)