C# Class OpenBveApi.Objects.OrientationalGlow

Represents an abstract orientational glow. This is the base class from which all orientational glows must inherit.
This type of glow computes the intensity as a function of the camera and object's position and orientation.
Inheritance: AbstractGlow
Mostrar archivo Open project: leezer3/OpenBVE

Public Methods

Method Description
GetIntensity ( Vector3 cameraPosition, Orientation3 cameraOrientation, Vector3 objectPosition, Vector3 objectOrientation ) : double

Gets the intensity of the glow.

Method Details

GetIntensity() public abstract method

Gets the intensity of the glow.
public abstract GetIntensity ( Vector3 cameraPosition, Orientation3 cameraOrientation, Vector3 objectPosition, Vector3 objectOrientation ) : double
cameraPosition Vector3 The position of the camera.
cameraOrientation OpenBveApi.Math.Orientation3 The orientation of the camera.
objectPosition Vector3 The position of the object.
objectOrientation Vector3 The orientation of the object.
return double