Struct ArchetypeChunk
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
public struct ArchetypeChunk
Fields
StartIndex
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
GetComponentVersion<T>(ArchetypeChunkComponentType<T>)
Declaration
public uint GetComponentVersion<T>(ArchetypeChunkComponentType<T> chunkComponentType)where T : struct, IComponentData
Parameters
Returns
Type |
Description |
System.UInt32 |
|
Type Parameters
GetNativeArray(ArchetypeChunkEntityType)
Declaration
public NativeArray<Entity> GetNativeArray(ArchetypeChunkEntityType archetypeChunkEntityType)
Parameters
Returns
Type |
Description |
NativeArray<Entity> |
|
GetNativeArray<T>(ArchetypeChunkComponentType<T>)
Declaration
public NativeArray<T> GetNativeArray<T>(ArchetypeChunkComponentType<T> chunkComponentType)where T : struct, IComponentData
Parameters
Returns
Type |
Description |
NativeArray<T> |
|
Type Parameters
GetSharedComponentIndex<T>(ArchetypeChunkSharedComponentType<T>)
Declaration
public int GetSharedComponentIndex<T>(ArchetypeChunkSharedComponentType<T> chunkSharedComponentData)where T : struct, ISharedComponentData
Parameters
Returns
Type |
Description |
System.Int32 |
|
Type Parameters