Table of Contents

Class AsteroidsDecorationJobified

Namespace
Root
Assembly
SPZGameAssembly.dll
public class AsteroidsDecorationJobified : IChunkedDecoration
Inheritance
object
AsteroidsDecorationJobified
Implements
Extension Methods

Constructors

AsteroidsDecorationJobified(SpaceThemeBackgroundAsteroidsResources, GraphicSettings)

public AsteroidsDecorationJobified(SpaceThemeBackgroundAsteroidsResources resources, GraphicSettings graphicSettings)

Parameters

resources SpaceThemeBackgroundAsteroidsResources
graphicSettings GraphicSettings

Properties

BackgroundChunkDecorationConfig

public BackgroundChunkDecorationConfig BackgroundChunkDecorationConfig { get; }

Property Value

BackgroundChunkDecorationConfig

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

drawOptions FrameDrawOptionsNoLOD
brg BatchRendererGroup

RegisterResources(IBatchRenderer)

public void RegisterResources(IBatchRenderer renderer)

Parameters

renderer IBatchRenderer

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

drawOptions FrameDrawOptionsNoLOD
seenChunks NativeParallelHashSet<BackgroundChunkData>
instances NativeMultiDictionary<MeshMaterialID, BatchInstance>
camera Camera
cullingPlanes NativeArray<Plane>
animationSimulationTime_G float
dependencies JobHandle