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

The kind of attenuation.

The type of curve defining the attenuation.

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.