Struct RigidBodyAspect.ResolvedChunk
Chunk of the enclosing aspect instances. the aspect struct itself is instantiated from multiple component data chunks.
Inherited Members
Namespace: Unity.Physics.Aspects
Assembly: Unity.Physics.dll
Syntax
public struct RigidBodyAspect.ResolvedChunk
Fields
Length
Number of entities in this chunk.
Declaration
public int Length
Field Value
Type | Description |
---|---|
int |
RigidBodyAspect_EntityNaE
Chunk data for aspect field 'RigidBodyAspect.Entity'
Declaration
public NativeArray<Entity> RigidBodyAspect_EntityNaE
Field Value
Type | Description |
---|---|
NativeArray<Entity> |
RigidBodyAspect_m_ColliderNaC
Chunk data for aspect field 'RigidBodyAspect.m_Collider'
Declaration
public NativeArray<PhysicsCollider> RigidBodyAspect_m_ColliderNaC
Field Value
Type | Description |
---|---|
NativeArray<PhysicsCollider> |
RigidBodyAspect_m_DampingNaC
Chunk data for aspect field 'RigidBodyAspect.m_Damping'
Declaration
public NativeArray<PhysicsDamping> RigidBodyAspect_m_DampingNaC
Field Value
Type | Description |
---|---|
NativeArray<PhysicsDamping> |
RigidBodyAspect_m_GravityFactorNaC
Chunk data for aspect field 'RigidBodyAspect.m_GravityFactor'
Declaration
public NativeArray<PhysicsGravityFactor> RigidBodyAspect_m_GravityFactorNaC
Field Value
Type | Description |
---|---|
NativeArray<PhysicsGravityFactor> |
RigidBodyAspect_m_MassNaC
Chunk data for aspect field 'RigidBodyAspect.m_Mass'
Declaration
public NativeArray<PhysicsMass> RigidBodyAspect_m_MassNaC
Field Value
Type | Description |
---|---|
NativeArray<PhysicsMass> |
RigidBodyAspect_m_MassOverideNaC
Chunk data for aspect field 'RigidBodyAspect.m_MassOveride'
Declaration
public NativeArray<PhysicsMassOverride> RigidBodyAspect_m_MassOverideNaC
Field Value
Type | Description |
---|---|
NativeArray<PhysicsMassOverride> |
RigidBodyAspect_m_TransformNaC
Chunk data for aspect field 'RigidBodyAspect.m_Transform'
Declaration
public NativeArray<LocalTransform> RigidBodyAspect_m_TransformNaC
Field Value
Type | Description |
---|---|
NativeArray<LocalTransform> |
RigidBodyAspect_m_VelocityNaC
Chunk data for aspect field 'RigidBodyAspect.m_Velocity'
Declaration
public NativeArray<PhysicsVelocity> RigidBodyAspect_m_VelocityNaC
Field Value
Type | Description |
---|---|
NativeArray<PhysicsVelocity> |
Properties
this[int]
Get an aspect instance pointing at a specific entity's component data in the chunk index.
Declaration
public RigidBodyAspect this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index |
Property Value
Type | Description |
---|---|
RigidBodyAspect | Aspect for the entity in the chunk at the given index. |