Header menu logo Mibo.Raylib

ShadowOriginStrategy Type

Strategy for determining the origin point of shadow maps.

The shadow origin determines where shadow maps are centered. This affects which parts of the scene receive shadows and how shadows move with the camera.

Union cases

Union case Description

CameraTarget

Full Usage: CameraTarget

Use the camera's target point as shadow origin. Good for third-person games.

Custom Camera3D -> Vector3

Full Usage: Custom Camera3D -> Vector3

Parameters:

Use a custom function to compute shadow origin from camera state.

Item : Camera3D -> Vector3

SceneCenter

Full Usage: SceneCenter

Use world origin (0,0,0) as shadow origin. Good for fixed scenes.

Instance members

Instance member Description

this.IsCameraTarget

Full Usage: this.IsCameraTarget

Returns: bool
Returns: bool

this.IsCustom

Full Usage: this.IsCustom

Returns: bool
Returns: bool

this.IsSceneCenter

Full Usage: this.IsSceneCenter

Returns: bool
Returns: bool

Type something to start searching.