docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ColliderAspect.ResolvedChunk

    Chunk of the enclosing aspect instances. the aspect struct itself is instantiated from multiple component data chunks.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.Aspects
    Assembly: Unity.Physics.dll
    Syntax
    public struct ColliderAspect.ResolvedChunk

    Fields

    ColliderAspect_EntityNaE

    Chunk data for aspect field 'ColliderAspect.Entity'

    Declaration
    public NativeArray<Entity> ColliderAspect_EntityNaE
    Field Value
    Type Description
    NativeArray<Entity>

    ColliderAspect_m_ColliderNaC

    Chunk data for aspect field 'ColliderAspect.m_Collider'

    Declaration
    public NativeArray<PhysicsCollider> ColliderAspect_m_ColliderNaC
    Field Value
    Type Description
    NativeArray<PhysicsCollider>

    ColliderAspect_m_TransformNaC

    Chunk data for aspect field 'ColliderAspect.m_Transform'

    Declaration
    public NativeArray<LocalTransform> ColliderAspect_m_TransformNaC
    Field Value
    Type Description
    NativeArray<LocalTransform>

    Length

    Number of entities in this chunk.

    Declaration
    public int Length
    Field Value
    Type Description
    int

    Properties

    this[int]

    Get an aspect instance pointing at a specific entity's component data in the chunk index.

    Declaration
    public ColliderAspect this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    ColliderAspect

    Aspect for the entity in the chunk at the given index.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)