UmbraFilterShape struct

A filter shape.

Public variables

UmbraFilterShapeType type
The filter shape type.
int lodLevel
The LOD level for this filter shape.
UmbraFloat3 center
The center of the sphere.
float radius
The radius of the sphere or cylinder.
UmbraFloat3 direction
The cylinder's axis.

Variable details

int UmbraFilterShape::lodLevel

The LOD level for this filter shape.

In Umbra::View::updateFilter() lodLevel level sets the LOD for geometry streamed within the filter shape.

In Umbra::Runtime::copyScene lodLevel controls the LOD level to copy. -1 copies all LOD levels.

UmbraFloat3 UmbraFilterShape::center

The center of the sphere.

Ignored if type is not UmbraFilterShapeType_Sphere or UmbraFilterShapeType_Cylinder.

float UmbraFilterShape::radius

The radius of the sphere or cylinder.

Ignored if type is neither UmbraFilterShapeType_Sphere nor UmbraFilterShapeType_Cylinder.

UmbraFloat3 UmbraFilterShape::direction

The cylinder's axis.

Ignored if type is not UmbraFilterShapeType_Cylinder.