VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrf::DtSearchLightStateComponentData Struct Reference

Cached frame data for the search-light state component.

Public Member Functions

 DtSearchLightStateComponentData ()
 
 DtSearchLightStateComponentData (const DtSearchLightStateComponentData &orig)
 
DtSearchLightStateComponentData & operator= (const DtSearchLightStateComponentData &orig)
 

Protected Attributes

unsigned myLightType
 
unsigned myColor
 
double myIntensity
 
double myRange
 
double myConeAngle
 
bool myPowerOn
 
unsigned myTrackingMode
 
DtString mySearchId
 
DtTaitBryan myRelativeOrientation
 
DtVector myTargetedLocation
 
DtVector myTargetedRelativeLocation
 
DtUUID myTargetedEntity
 
DtVector myRelativeLocation
 

Constructor & Destructor Documentation

makVrf::DtSearchLightStateComponentData::DtSearchLightStateComponentData ( )
inline

Default constructor. Initializes all light properties and aim state to their off/zero defaults.

makVrf::DtSearchLightStateComponentData::DtSearchLightStateComponentData ( const DtSearchLightStateComponentData &  orig)
inline

Member Function Documentation

DtSearchLightStateComponentData& makVrf::DtSearchLightStateComponentData::operator= ( const DtSearchLightStateComponentData &  orig)
inline

Assignment operator.

Parameters
origSource object to assign from.
Returns
Reference to this object.

References myColor, myConeAngle, myIntensity, myLightType, myPowerOn, myRange, myRelativeLocation, myRelativeOrientation, mySearchId, myTargetedEntity, myTargetedLocation, myTargetedRelativeLocation, and myTrackingMode.

Member Data Documentation

unsigned makVrf::DtSearchLightStateComponentData::myLightType
protected

Search Light accessor/mutators:

Aimable System accessor/mutators: Embedded System accessor/mutators: Search Light members: Enumerated light type identifier for the search light.

Referenced by DtSearchLightStateComponentData(), and operator=().

unsigned makVrf::DtSearchLightStateComponentData::myColor
protected

Packed RGBA color of the search-light beam.

Referenced by DtSearchLightStateComponentData(), and operator=().

double makVrf::DtSearchLightStateComponentData::myIntensity
protected

Luminous intensity of the search-light beam.

Referenced by DtSearchLightStateComponentData(), and operator=().

double makVrf::DtSearchLightStateComponentData::myRange
protected

Maximum effective range of the search-light beam (meters).

Referenced by DtSearchLightStateComponentData(), and operator=().

double makVrf::DtSearchLightStateComponentData::myConeAngle
protected

Half-angle of the search-light cone (radians).

Referenced by DtSearchLightStateComponentData(), and operator=().

bool makVrf::DtSearchLightStateComponentData::myPowerOn
protected

Aimable System members: Boolean indicating whether or not the system is powered on.

Referenced by DtSearchLightStateComponentData(), and operator=().

unsigned makVrf::DtSearchLightStateComponentData::myTrackingMode
protected

Tracking mode controlling how the search light follows a target.

Referenced by DtSearchLightStateComponentData(), and operator=().

DtString makVrf::DtSearchLightStateComponentData::mySearchId
protected

Application-defined string identifier for this search-light entry.

Referenced by DtSearchLightStateComponentData(), and operator=().

DtTaitBryan makVrf::DtSearchLightStateComponentData::myRelativeOrientation
protected

Orientation of the search light relative to the host entity body frame (Tait-Bryan angles).

Referenced by DtSearchLightStateComponentData(), and operator=().

DtVector makVrf::DtSearchLightStateComponentData::myTargetedLocation
protected

World-space location that the search light is pointing at (meters, geocentric).

Referenced by DtSearchLightStateComponentData(), and operator=().

DtVector makVrf::DtSearchLightStateComponentData::myTargetedRelativeLocation
protected

Body-relative location relative to the targeted entity that the search light is pointing at (meters).

Referenced by DtSearchLightStateComponentData(), and operator=().

DtUUID makVrf::DtSearchLightStateComponentData::myTargetedEntity
protected

UUID of the entity currently targeted by this search light.

Referenced by DtSearchLightStateComponentData(), and operator=().

DtVector makVrf::DtSearchLightStateComponentData::myRelativeLocation
protected

Embedded System members: Position of the search light relative to the host entity (meters, body frame).

Referenced by DtSearchLightStateComponentData(), and operator=().


The documentation for this struct was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)