Struct BuildPhysicsWorldData
Public system data for this world's instance of a Build
Contains physics world data based on the entity world. The physics world data will contain a rigid body for every entity which has a rigid body component, and a joint for every entity which has a joint component.
Inherited Members
Namespace: Unity.Physics.Systems
Assembly: Unity.Physics.dll
Syntax
public struct BuildPhysicsWorldData : IComponentData, IQueryTypeParameter
Fields
PhysicsData
Information describing the Physics
Declaration
public PhysicsWorldData PhysicsData
Field Value
Type | Description |
---|---|
Physics |
WorldFilter
A filter specifying the world.
Declaration
public PhysicsWorldIndex WorldFilter
Field Value
Type | Description |
---|---|
Physics |
Properties
DynamicEntityGroup
Gets the group the dynamic bodies belongs to.
Declaration
public EntityQuery DynamicEntityGroup { get; }
Property Value
Type | Description |
---|---|
Entity |
The dynamic entity group. |
HaveStaticBodiesChanged
True if the static bodies have changed this frame.
Declaration
public NativeReference<int> HaveStaticBodiesChanged { get; }
Property Value
Type | Description |
---|---|
Native |
The have static bodies changed flag. |
JointEntityGroup
Gets the group the joints belongs to.
Declaration
public EntityQuery JointEntityGroup { get; }
Property Value
Type | Description |
---|---|
Entity |
The joint entity group. |
StaticEntityGroup
Gets the group the static bodies belongs to.
Declaration
public EntityQuery StaticEntityGroup { get; }
Property Value
Type | Description |
---|---|
Entity |
The static entity group. |
Methods
CompleteInputDependency()
Complete and reset all pending input dependencies.
Declaration
public void CompleteInputDependency()