Class IslandsBlueprintDrawUtils
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public static class IslandsBlueprintDrawUtils
- Inheritance
-
object
IslandsBlueprintDrawUtils
Methods
DrawBlueprintMesh(FrameDrawOptions, ICombinedTemporaryMesh, Matrix4x4, MaterialPropertyBlock, PropertyBlockHash)
public static void DrawBlueprintMesh(FrameDrawOptions drawOptions, ICombinedTemporaryMesh combinedMesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash)
Parameters
drawOptions FrameDrawOptions
combinedMesh ICombinedTemporaryMesh
trs Matrix4x4
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
DrawBlueprintMesh(FrameDrawOptions, ICombinedTemporaryMesh, Matrix4x4, MaterialPropertyBlock, PropertyBlockHash, IMaterialReference)
public static void DrawBlueprintMesh(FrameDrawOptions drawOptions, ICombinedTemporaryMesh combinedMesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash, IMaterialReference material)
Parameters
drawOptions FrameDrawOptions
combinedMesh ICombinedTemporaryMesh
trs Matrix4x4
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
material IMaterialReference
DrawBlueprintMesh(FrameDrawOptions, IMeshReference, Matrix4x4, MaterialPropertyBlock, PropertyBlockHash)
public static void DrawBlueprintMesh(FrameDrawOptions drawOptions, IMeshReference mesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash)
Parameters
drawOptions FrameDrawOptions
mesh IMeshReference
trs Matrix4x4
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
DrawBlueprintMesh(FrameDrawOptions, IMeshReference, Matrix4x4, MaterialPropertyBlock, PropertyBlockHash, IMaterialReference)
public static void DrawBlueprintMesh(FrameDrawOptions drawOptions, IMeshReference mesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash, IMaterialReference material)
Parameters
drawOptions FrameDrawOptions
mesh IMeshReference
trs Matrix4x4
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
material IMaterialReference
DrawBlueprintMesh(FrameDrawOptions, InstancedMeshManager, IMeshReference, Matrix4x4, MaterialPropertyBlock, PropertyBlockHash, IMaterialReference)
public static void DrawBlueprintMesh(FrameDrawOptions drawOptions, InstancedMeshManager meshManager, IMeshReference mesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash, IMaterialReference material)
Parameters
drawOptions FrameDrawOptions
meshManager InstancedMeshManager
mesh IMeshReference
trs Matrix4x4
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
material IMaterialReference
DrawBlueprintMeshNonInstanced(FrameDrawOptions, CombinedTemporaryMesh, Matrix4x4, MaterialPropertyBlock)
[Obsolete("Please use the instanced version instead")]
public static void DrawBlueprintMeshNonInstanced(FrameDrawOptions drawOptions, CombinedTemporaryMesh combinedMesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock)
Parameters
drawOptions FrameDrawOptions
combinedMesh CombinedTemporaryMesh
trs Matrix4x4
propertyBlock MaterialPropertyBlock
DrawBlueprintMeshNonInstanced(FrameDrawOptions, CombinedTemporaryMesh, Matrix4x4, MaterialPropertyBlock, IMaterialReference)
[Obsolete("Please use the instanced version instead")]
public static void DrawBlueprintMeshNonInstanced(FrameDrawOptions drawOptions, CombinedTemporaryMesh combinedMesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, IMaterialReference material)
Parameters
drawOptions FrameDrawOptions
combinedMesh CombinedTemporaryMesh
trs Matrix4x4
propertyBlock MaterialPropertyBlock
material IMaterialReference
DrawBlueprintMeshNonInstanced(FrameDrawOptions, IMeshReference, Matrix4x4, MaterialPropertyBlock)
[Obsolete("Please use the instanced version instead")]
public static void DrawBlueprintMeshNonInstanced(FrameDrawOptions drawOptions, IMeshReference mesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock)
Parameters
drawOptions FrameDrawOptions
mesh IMeshReference
trs Matrix4x4
propertyBlock MaterialPropertyBlock
DrawBlueprintMeshNonInstanced(FrameDrawOptions, IMeshReference, Matrix4x4, MaterialPropertyBlock, IMaterialReference)
[Obsolete("Please use the instanced version instead")]
public static void DrawBlueprintMeshNonInstanced(FrameDrawOptions drawOptions, IMeshReference mesh, Matrix4x4 trs, MaterialPropertyBlock propertyBlock, IMaterialReference material)
Parameters
drawOptions FrameDrawOptions
mesh IMeshReference
trs Matrix4x4
propertyBlock MaterialPropertyBlock
material IMaterialReference
GetCameraPositionOffset(FrameDrawOptions, WorldCoordinate)
public static WorldVector GetCameraPositionOffset(FrameDrawOptions options, WorldCoordinate position)
Parameters
options FrameDrawOptions
position WorldCoordinate
Returns
- WorldVector
GetCameraPositionOffset(FrameDrawOptions, float3)
public static float3 GetCameraPositionOffset(FrameDrawOptions options, float3 position)
Parameters
options FrameDrawOptions
position float3
Returns
- float3
GetColorForAllowability(PlacementAllowability)
public static IShaderColorProvider GetColorForAllowability(PlacementAllowability allowability)
Parameters
allowability PlacementAllowability
Returns
- IShaderColorProvider