Class SmallShadowHandler
- Namespace
- Zorro.Core.SmallShadows
- Assembly
- Zorro.Core.Runtime.dll
[DefaultExecutionOrder(-1000)]
public class SmallShadowHandler : Singleton<SmallShadowHandler>
- Inheritance
-
SmallShadowHandler
- Inherited Members
-
- Extension Methods
-
Constructors
SmallShadowHandler()
public SmallShadowHandler()
Fields
m_meshMaxDistances
public NativeListRecord<float> m_meshMaxDistances
Field Value
- NativeListRecord<float>
m_meshPositions
public NativeListRecord<float3> m_meshPositions
Field Value
- NativeListRecord<float3>
m_shadowCastingStates
public NativeListRecord<bool> m_shadowCastingStates
Field Value
- NativeListRecord<bool>
m_smallShadowMeshes
public ObjectNativeBookkeeper<SmallShadowMesh> m_smallShadowMeshes
Field Value
- ObjectNativeBookkeeper<SmallShadowMesh>
Methods
OnCreated()
protected override void OnCreated()
Process()
RegisterSmallShadowMesh(SmallShadowMesh)
public static void RegisterSmallShadowMesh(SmallShadowMesh mesh)
Parameters
mesh
SmallShadowMesh
ScheduleShadowDistanceChecks(float3)
public void ScheduleShadowDistanceChecks(float3 cameraPos)
Parameters
cameraPos
float3
UnregisterSmallShadowMesh(SmallShadowMesh)
public static void UnregisterSmallShadowMesh(SmallShadowMesh mesh)
Parameters
mesh
SmallShadowMesh