Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.83 KB

ReflectorDesc.rst

File metadata and controls

61 lines (38 loc) · 1.83 KB

ReflectorDesc

A datablock which defines performance and quality properties for dynamic reflections.

Inherit:

SimDataBlock

Description

ReflectorDesc is not itself a reflection and does not render reflections. It is a dummy class for holding and exposing to the user a set of reflection related properties. Objects which support dynamic reflections may then reference a ReflectorDesc.

Example:

datablock ReflectorDesc( ExampleReflectorDesc )
{
   texSize = 256;
   nearDist = 0.1;
   farDist = 500;
   objectTypeMask = 0xFFFFFFFF;
   detailAdjust = 1.0;
   priority = 1.0;
   maxRateMs = 0;
   useOcclusionQuery = true;
};

Fields