Class CalcDirtyMeshSourcesSystem<TSurface, TRenderData>
System that calculates which chunk meshes need to be recalculated (dirty) for the specified surface type.
Inheritance
ComponentSystemBase
SystemBase
CalcDirtyMeshSourcesSystem<TSurface, TRenderData>
Inherited Members
SystemBase.Dependency
SystemBase.CheckedStateRef
SystemBase.CompleteDependency()
SystemBase.Entities
SystemBase.Job
SystemBase.Update()
SystemBase.OnUpdate()
SystemBase.GetComponent<T>(Entity)
SystemBase.SetComponent<T>(Entity, T)
SystemBase.HasComponent<T>(Entity)
SystemBase.HasBuffer<T>(Entity)
SystemBase.GetEntityStorageInfoLookup()
SystemBase.GetStorageInfoFromEntity()
SystemBase.Exists(Entity)
ComponentSystemBase.Enabled
ComponentSystemBase.EntityQueries
ComponentSystemBase.GlobalSystemVersion
ComponentSystemBase.LastSystemVersion
ComponentSystemBase.EntityManager
ComponentSystemBase.World
ComponentSystemBase.SystemHandle
ComponentSystemBase.SystemHandleUntyped
ComponentSystemBase.Time
ComponentSystemBase.WorldUpdateAllocator
ComponentSystemBase.OnCreate()
ComponentSystemBase.OnStartRunning()
ComponentSystemBase.OnStopRunning()
ComponentSystemBase.OnDestroy()
ComponentSystemBase.ShouldRunSystem()
ComponentSystemBase.GetDynamicComponentTypeHandle(ComponentType)
ComponentSystemBase.GetSharedComponentTypeHandle<T>()
ComponentSystemBase.GetDynamicSharedComponentTypeHandle(ComponentType)
ComponentSystemBase.GetEntityTypeHandle()
ComponentSystemBase.RequireForUpdate(EntityQuery)
ComponentSystemBase.RequireAnyForUpdate(params EntityQuery[])
ComponentSystemBase.RequireAnyForUpdate(NativeArray<EntityQuery>)
ComponentSystemBase.RequireForUpdate<T>()
ComponentSystemBase.RequireSingletonForUpdate<T>()
ComponentSystemBase.HasSingleton<T>()
ComponentSystemBase.GetSingleton<T>()
ComponentSystemBase.GetSingletonRW<T>()
ComponentSystemBase.TryGetSingleton<T>(out T)
ComponentSystemBase.TryGetSingletonBuffer<T>(out DynamicBuffer<T>)
ComponentSystemBase.SetSingleton<T>(T)
ComponentSystemBase.GetSingletonEntity<T>()
ComponentSystemBase.TryGetSingletonEntity<T>(out Entity)
ComponentSystemBase.GetEntityQuery(params ComponentType[])
ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
ComponentSystemBase.GetEntityQuery(params EntityQueryDesc[])
ComponentSystemBase.GetEntityQuery(in EntityQueryBuilder)
Namespace: Fwt.HexTerrains.Systems
Assembly: fwt.hexterrains.dll
Syntax
public abstract class CalcDirtyMeshSourcesSystem<TSurface, TRenderData> : SystemBase where TSurface : HexSurfaceLayer where TRenderData : HexSurfaceRenderLayer<TSurface>
Type Parameters
| Name | Description |
|---|---|
| TSurface | Surface type to calculate a dirty chunks for |
| TRenderData | Type of RenderLayer related to TSurface |
Methods
CalcDirtyChunks(in HexTerrainVisibility, TSurface, TRenderData)
Declaration
public virtual void CalcDirtyChunks(in HexTerrainVisibility terrainVisibility, TSurface surfaceData, TRenderData renderData)
Parameters
| Type | Name | Description |
|---|---|---|
| HexTerrainVisibility | terrainVisibility | |
| TSurface | surfaceData | |
| TRenderData | renderData |