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.ResolvedChunkFields
Length
Number of entities in this chunk.
Declaration
public int LengthField Value
| Type | Description | 
|---|---|
| int | 
RigidBodyAspect_EntityNaE
Chunk data for aspect field 'RigidBodyAspect.Entity'
Declaration
public NativeArray<Entity> RigidBodyAspect_EntityNaEField Value
| Type | Description | 
|---|---|
| NativeArray<Entity> | 
RigidBodyAspect_m_ColliderNaC
Chunk data for aspect field 'RigidBodyAspect.m_Collider'
Declaration
public NativeArray<PhysicsCollider> RigidBodyAspect_m_ColliderNaCField Value
| Type | Description | 
|---|---|
| NativeArray<PhysicsCollider> | 
RigidBodyAspect_m_DampingNaC
Chunk data for aspect field 'RigidBodyAspect.m_Damping'
Declaration
public NativeArray<PhysicsDamping> RigidBodyAspect_m_DampingNaCField Value
| Type | Description | 
|---|---|
| NativeArray<PhysicsDamping> | 
RigidBodyAspect_m_GravityFactorNaC
Chunk data for aspect field 'RigidBodyAspect.m_GravityFactor'
Declaration
public NativeArray<PhysicsGravityFactor> RigidBodyAspect_m_GravityFactorNaCField Value
| Type | Description | 
|---|---|
| NativeArray<PhysicsGravityFactor> | 
RigidBodyAspect_m_MassNaC
Chunk data for aspect field 'RigidBodyAspect.m_Mass'
Declaration
public NativeArray<PhysicsMass> RigidBodyAspect_m_MassNaCField Value
| Type | Description | 
|---|---|
| NativeArray<PhysicsMass> | 
RigidBodyAspect_m_MassOverideNaC
Chunk data for aspect field 'RigidBodyAspect.m_MassOveride'
Declaration
public NativeArray<PhysicsMassOverride> RigidBodyAspect_m_MassOverideNaCField Value
| Type | Description | 
|---|---|
| NativeArray<PhysicsMassOverride> | 
RigidBodyAspect_m_TransformNaC
Chunk data for aspect field 'RigidBodyAspect.m_Transform'
Declaration
public NativeArray<LocalTransform> RigidBodyAspect_m_TransformNaCField Value
| Type | Description | 
|---|---|
| NativeArray<LocalTransform> | 
RigidBodyAspect_m_VelocityNaC
Chunk data for aspect field 'RigidBodyAspect.m_Velocity'
Declaration
public NativeArray<PhysicsVelocity> RigidBodyAspect_m_VelocityNaCField 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. |