C# Class OpenBve.Scripting.Simulation

Provides scripting access to in simulation variables
Afficher le fichier Open project: leezer3/OpenBVE

Méthodes publiques

Méthode Description
CameraDistance ( Vector3 Position ) : double

Gets the camera distance in meters from the current object

time ( ) : double

Gets the current in-simulation time

Method Details

CameraDistance() public static méthode

Gets the camera distance in meters from the current object
public static CameraDistance ( Vector3 Position ) : double
Position Vector3 The absolute in-game position of the current object to test against
Résultat double

time() public static méthode

Gets the current in-simulation time
public static time ( ) : double
Résultat double