Struct opengex::structure::Atten
[−]
[src]
pub struct Atten { pub kind: AttenuationKind, pub curve: AttenuationCurve, pub params: ParamMap, }
The Atten structure specifies an attenuation function for a light object.
Fields
kind: AttenuationKind
The kind of attenuation.
curve: AttenuationCurve
The type of curve defining the attenuation.
params: ParamMap
Any parameters associated with this Atten structure.
For the meaning of the parameters, please refer to the official OpenGEX documentation. There can exist application-defined parameters.