Class PhysicsStepAuthoring
Inheritance
PhysicsStepAuthoring
Syntax
[AddComponentMenu("DOTS/Physics/Physics Step")]
[DisallowMultipleComponent]
public sealed class PhysicsStepAuthoring : MonoBehaviour, IConvertGameObjectToEntity
Properties
EnableSolverStabilizationHeuristic
Declaration
public bool EnableSolverStabilizationHeuristic { get; set; }
Property Value
Gravity
Declaration
public float3 Gravity { get; set; }
Property Value
Type |
Description |
Unity.Mathematics.float3 |
|
SimulationType
Declaration
public SimulationType SimulationType { get; set; }
Property Value
SolverIterationCount
Declaration
public int SolverIterationCount { get; set; }
Property Value
SynchronizeCollisionWorld
Declaration
public bool SynchronizeCollisionWorld { get; set; }
Property Value
ThreadCountHint
Declaration
public int ThreadCountHint { get; set; }
Property Value
Explicit Interface Implementations
IConvertGameObjectToEntity.Convert(Entity, EntityManager, GameObjectConversionSystem)
Declaration
void IConvertGameObjectToEntity.Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
EntityManager |
dstManager |
|
GameObjectConversionSystem |
conversionSystem |
|
Implements