ShadowCaster
Script APIOnTransformChange: event
OnEnableChange: event
Shadows: read-only property, return a list of Shadow
objects this shadowCaster is managing.
ExtrusionShadows: read-only property, same as Shadows, but only the extrusion shadows.
VolumeShadows: read-only property, same as Shadows, but only the volume shadows.
LightSources: property, return or set the array of light sources.
<aside> đź’ˇ Setting LightSources after the ShadowCaster was initialized has no effect.
</aside>
MeshVertices: read-only property, return the mesh vertices (in world location).
MeshNormals: read-only property, return the mesh normals.
ShadowMode: property, set/get the shadow mode, the changes are applied immediately by disabling/enabling the corresponding shadow GameObjects.
ExtrusionShadowMaterial: property, changes are applied immediately.
VolumeShadowMaterial: property, changes are applied immediately.
IsTriggerShadow: property, changes are applied immediately.