Class LazyCombinedMesh
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class LazyCombinedMesh
- Inheritance
-
objectLazyCombinedMesh
- Extension Methods
Constructors
LazyCombinedMesh(string, ScopedList<IntermediaryCombineInstance>, bool)
public LazyCombinedMesh(string contextName, ScopedList<IntermediaryCombineInstance> sourceInstances, bool combine = true)
Parameters
contextNamestringsourceInstancesScopedList<IntermediaryCombineInstance>combinebool
Methods
Dispose()
public void Dispose()
Draw(FrameDrawOptionsNoLOD, IMaterialReference, RenderCategory, bool, ShadowToken, ShadowToken)
public void Draw(FrameDrawOptionsNoLOD options, IMaterialReference material, RenderCategory category, bool culling = false, ShadowToken castShadows = default, ShadowToken receiveShadows = default)
Parameters
optionsFrameDrawOptionsNoLODmaterialIMaterialReferencecategoryRenderCategorycullingboolcastShadowsShadowTokenreceiveShadowsShadowToken
DrawInstanced(FrameDrawOptionsNoLOD, IMaterialReference, Matrix4x4, bool, ShadowToken, ShadowToken)
public void DrawInstanced(FrameDrawOptionsNoLOD options, IMaterialReference material, Matrix4x4 transform, bool culling, ShadowToken castShadows = default, ShadowToken receiveShadows = default)
Parameters
optionsFrameDrawOptionsNoLODmaterialIMaterialReferencetransformMatrix4x4cullingboolcastShadowsShadowTokenreceiveShadowsShadowToken