90 return mMinTravelPeriod;
95 return mMaxTravelPeriod;
105 return mAmplitudes[nEnd];
115 float mAmplitudes[2];
End
The ends of a beam, the indices of mColors.
Definition beamparams.h:18
@ kEndStart
Definition beamparams.h:19
@ kEndFinish
Definition beamparams.h:20
const Vector2 & GetMaxTravelPeriod() const
Definition beamparams.h:94
void Load(DataArray *pConfig, DataArray *pDefaults, bool bReload, float fScale)
Read the look from the beams entry of the configuration.
float GetAmplitude(int nEnd) const
Report the amplitude of the waves at one end.
Definition beamparams.h:104
int GetPoints() const
Definition beamparams.h:74
const Vector2 & GetMaxFrequency() const
Definition beamparams.h:84
void Apply(RndLine *pLine, RndMat *pMat) const
Give the look to the line and the material of a beam, once the look is loaded.
BeamParams(const char *pszName)
Construct the look of the beams of a configuration entry.
~BeamParams()
Destroy the look.
const Vector2 & GetMinFrequency() const
Definition beamparams.h:79
const Color * GetColor(int nEnd, const Color *pDefault) const
Report the colour of an end of a beam.
const Vector2 & GetMinTravelPeriod() const
Definition beamparams.h:89
Reference-counted array of script data nodes.
Definition dataarray.h:20
Line through points, drawn as a ribbon of constant screen width that faces the camera.
Definition rndline.h:26
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
Growable text buffer that is also a PrnStream.
Definition string.h:19
Linear colour with four float components.
Definition color.h:12
Two-component vector, used for texture coordinates.
Definition vector2.h:12