예제 #1
0
 /// <summary>Creates the object within the world</summary>
 /// <param name="Position">The world position</param>
 /// <param name="WorldTransformation">The world transformation to apply (e.g. ground, rail)</param>
 /// <param name="LocalTransformation">The local transformation to apply in order to rotate the model</param>
 /// <param name="SectionIndex">The section index (If placed via Track.SigF)</param>
 /// <param name="StartingDistance">The track distance at which this is displayed by the renderer</param>
 /// <param name="EndingDistance">The track distance at which this hidden by the renderer</param>
 /// <param name="TrackPosition">The absolute track position at which this object is placed</param>
 /// <param name="Brightness">The brightness value of this object</param>
 /// <param name="DuplicateMaterials">Whether the materials are to be duplicated (Not set when creating BVE4 signals)</param>
 public abstract void CreateObject(Vector3 Position, Godot.Transform WorldTransformation, Godot.Transform LocalTransformation, int SectionIndex, double StartingDistance, double EndingDistance, double TrackPosition, double Brightness, bool DuplicateMaterials = false);
예제 #2
0
 /// <summary>Creates the object within the world</summary>
 /// <param name="Position">The world position</param>
 /// <param name="WorldTransformation">The world transformation to apply (e.g. ground, rail)</param>
 /// <param name="LocalTransformation">The local transformation to apply in order to rotate the model</param>
 /// <param name="StartingDistance">The track distance at which this is displayed by the renderer</param>
 /// <param name="EndingDistance">The track distance at which this hidden by the renderer</param>
 /// <param name="TrackPosition">The absolute track position at which this object is placed</param>
 public void CreateObject(Vector3 Position, Godot.Transform WorldTransformation, Godot.Transform LocalTransformation, double StartingDistance, double EndingDistance, double TrackPosition)
 {
     CreateObject(Position, WorldTransformation, LocalTransformation, -1, StartingDistance, EndingDistance, TrackPosition, 1.0);
 }