Nuclide
Software Development Kit for id Technology
|
Shared-Entity: Spotlight With Beam.
QUAKED point_spotlight (1 .5 0) (-8 -8 -8) (8 8 8) PNTSPTLGHT_STARTON PNTSPTLGHT_NOLIGHT
An entity that draws a spotlight, with beam. Will also spawn a dynamic light, unless specifically disabled via the spawnflags field.
This entity was introduced in Half-Life 2 (2004).
Public Member Functions | |
void | point_spotlight (void) |
virtual void | ReceiveEntity (float, float) |
Client: Handles network updates from the server for the associated entity. More... | |
virtual float | predraw (void) |
nonvirtual void | UpdateBeamLength (void) |
nonvirtual float | BeamViewDelta (vector, vector) |
nonvirtual float | FlareViewDelta (float, vector) |
nonvirtual void | SetBeamMaterial (string) |
nonvirtual void | SetGlowMaterial (string) |
nonvirtual void | SetRenderColor (vector) |
nonvirtual void | SetLightStyle (float) |
nonvirtual void | SetBeamWidth (float) |
nonvirtual void | SetBeamLength (float) |
Public Attributes | |
vector | m_vecBeamEnd |
float | m_flBeamTrace |
float | m_flBeamHalfwidth |
string | m_flareMaterial |
string | m_coneMaterial |
void point_spotlight::point_spotlight | ( | void | ) |
float point_spotlight::BeamViewDelta | ( | vector | vecPlayer, |
vector | cameraAngle | ||
) |
float point_spotlight::FlareViewDelta | ( | float | beamDelta, |
vector | cameraAngle | ||
) |
|
virtual |
Reimplemented from NSEntity.
|
virtual |
Client: Handles network updates from the server for the associated entity.
Reimplemented from NSEntity.
void point_spotlight::SetBeamLength | ( | float | beamLength | ) |
void point_spotlight::SetBeamMaterial | ( | string | beamMaterial | ) |
void point_spotlight::SetBeamWidth | ( | float | newWidth | ) |
void point_spotlight::SetGlowMaterial | ( | string | glowMaterial | ) |
void point_spotlight::SetLightStyle | ( | float | newStyle | ) |
void point_spotlight::SetRenderColor | ( | vector | renderColor | ) |
void point_spotlight::UpdateBeamLength | ( | void | ) |
string point_spotlight::m_coneMaterial |
string point_spotlight::m_flareMaterial |
float point_spotlight::m_flBeamHalfwidth |
float point_spotlight::m_flBeamTrace |
vector point_spotlight::m_vecBeamEnd |