Class AsteroidsDecorationJobified
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class AsteroidsDecorationJobified : IChunkedDecoration
- Inheritance
-
objectAsteroidsDecorationJobified
- Implements
- Extension Methods
Constructors
AsteroidsDecorationJobified(SpaceThemeBackgroundAsteroidsResources, GraphicSettings)
public AsteroidsDecorationJobified(SpaceThemeBackgroundAsteroidsResources resources, GraphicSettings graphicSettings)
Parameters
resourcesSpaceThemeBackgroundAsteroidsResourcesgraphicSettingsGraphicSettings
Properties
BackgroundChunkDecorationConfig
public BackgroundChunkDecorationConfig BackgroundChunkDecorationConfig { get; }
Property Value
MaxInstances
public int MaxInstances { get; }
Property Value
- int
ShouldDraw
public bool ShouldDraw { get; }
Property Value
- bool
Methods
Dispose()
public void Dispose()
OnBeforeDraw(FrameDrawOptionsNoLOD, BatchRendererGroup)
public void OnBeforeDraw(FrameDrawOptionsNoLOD drawOptions, BatchRendererGroup brg)
Parameters
drawOptionsFrameDrawOptionsNoLODbrgBatchRendererGroup
RegisterResources(IBatchRenderer)
public void RegisterResources(IBatchRenderer renderer)
Parameters
rendererIBatchRenderer
ScheduleDecorationDraw(FrameDrawOptionsNoLOD, NativeParallelHashSet<BackgroundChunkData>, NativeMultiDictionary<MeshMaterialID, BatchInstance>, Camera, NativeArray<Plane>, float, ref JobHandle)
public void ScheduleDecorationDraw(FrameDrawOptionsNoLOD drawOptions, NativeParallelHashSet<BackgroundChunkData> seenChunks, NativeMultiDictionary<MeshMaterialID, BatchInstance> instances, Camera camera, NativeArray<Plane> cullingPlanes, float animationSimulationTime_G, ref JobHandle dependencies)
Parameters
drawOptionsFrameDrawOptionsNoLODseenChunksNativeParallelHashSet<BackgroundChunkData>instancesNativeMultiDictionary<MeshMaterialID, BatchInstance>cameraCameracullingPlanesNativeArray<Plane>animationSimulationTime_GfloatdependenciesJobHandle