C# 클래스 OpenBve.Scripting.Simulation

Provides scripting access to in simulation variables
파일 보기 프로젝트 열기: leezer3/OpenBVE

공개 메소드들

메소드 설명
CameraDistance ( Vector3 Position ) : double

Gets the camera distance in meters from the current object

time ( ) : double

Gets the current in-simulation time

메소드 상세

CameraDistance() 공개 정적인 메소드

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

time() 공개 정적인 메소드

Gets the current in-simulation time
public static time ( ) : double
리턴 double