C# 클래스 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.
상속: AbstractGlow
파일 보기 프로젝트 열기: leezer3/OpenBVE

공개 메소드들

메소드 설명
GetIntensity ( Vector3 cameraPosition, Orientation3 cameraOrientation, Vector3 objectPosition, Vector3 objectOrientation ) : double

Gets the intensity of the glow.

메소드 상세

GetIntensity() 공개 추상적인 메소드

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.
리턴 double