Table of Contents

Class CombinedTemporaryMesh

Namespace
Root
Assembly
SPZGameAssembly.dll
public class CombinedTemporaryMesh : ICombinedTemporaryMesh
Inheritance
object
CombinedTemporaryMesh
Implements
Extension Methods

Constructors

CombinedTemporaryMesh(IReadOnlyCollection<TemporaryMeshReference>)

public CombinedTemporaryMesh(IReadOnlyCollection<TemporaryMeshReference> meshes)

Parameters

meshes IReadOnlyCollection<TemporaryMeshReference>

Properties

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

MeshCount

public int MeshCount { get; }

Property Value

int

Methods

Dispose()

public void Dispose()

Draw(FrameDrawOptionsNoLOD, IMaterialReference, RenderCategory, bool, MaterialPropertyBlock, ShadowToken, ShadowToken)

public void Draw(FrameDrawOptionsNoLOD options, IMaterialReference material, RenderCategory category, bool culling = false, MaterialPropertyBlock propertyBlock = null, ShadowToken castShadows = default, ShadowToken receiveShadows = default)

Parameters

options FrameDrawOptionsNoLOD
material IMaterialReference
category RenderCategory
culling bool
propertyBlock MaterialPropertyBlock
castShadows ShadowToken
receiveShadows ShadowToken

Draw(FrameDrawOptionsNoLOD, IMaterialReference, Matrix4x4, RenderCategory, bool, MaterialPropertyBlock, ShadowToken, ShadowToken)

public void Draw(FrameDrawOptionsNoLOD options, IMaterialReference material, Matrix4x4 transform, RenderCategory category, bool culling = false, MaterialPropertyBlock propertyBlock = null, ShadowToken castShadows = default, ShadowToken receiveShadows = default)

Parameters

options FrameDrawOptionsNoLOD
material IMaterialReference
transform Matrix4x4
category RenderCategory
culling bool
propertyBlock MaterialPropertyBlock
castShadows ShadowToken
receiveShadows ShadowToken

DrawInstanced(FrameDrawOptionsNoLOD, IMaterialReference, InstancedMeshManager, Matrix4x4, bool, ShadowToken, ShadowToken)

public void DrawInstanced(FrameDrawOptionsNoLOD options, IMaterialReference material, InstancedMeshManager instanceManager, Matrix4x4 transform, bool culling, ShadowToken castShadows = default, ShadowToken receiveShadows = default)

Parameters

options FrameDrawOptionsNoLOD
material IMaterialReference
instanceManager InstancedMeshManager
transform Matrix4x4
culling bool
castShadows ShadowToken
receiveShadows ShadowToken

DrawInstanced(FrameDrawOptionsNoLOD, IMaterialReference, InstancedMeshManager, Matrix4x4, bool, MaterialPropertyBlock, PropertyBlockHash, ShadowToken, ShadowToken)

public void DrawInstanced(FrameDrawOptionsNoLOD options, IMaterialReference material, InstancedMeshManager instanceManager, Matrix4x4 transform, bool culling, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash, ShadowToken castShadows = default, ShadowToken receiveShadows = default)

Parameters

options FrameDrawOptionsNoLOD
material IMaterialReference
instanceManager InstancedMeshManager
transform Matrix4x4
culling bool
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
castShadows ShadowToken
receiveShadows ShadowToken

GetMesh(int)

[Obsolete("Do not access the meshes directly.")]
public TemporaryMeshReference GetMesh(int index)

Parameters

index int

Returns

TemporaryMeshReference