C# Class OpenBve.ObjectManager

ファイルを表示 Open project: leezer3/OpenBVE Class Usage Examples

Private Methods

Method Description
ApplyStaticObjectData ( StaticObject &Object, StaticObject Prototype, System.Vector3 Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double AccurateObjectDisposalZOffset, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : void
ApplyStaticObjectData ( StaticObject &Object, StaticObject Prototype, World Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double AccurateObjectDisposalZOffset, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : void
CloneObject ( StaticObject Prototype ) : StaticObject
CloneObject ( StaticObject Prototype, Textures DaytimeTexture, Textures NighttimeTexture ) : StaticObject

Creates a clone of the specified object.

CloneObject ( StaticObject Prototype, int DaytimeTextureIndex, int NighttimeTextureIndex ) : StaticObject
CreateAnimatedWorldObject ( AnimatedObject Prototype, System.Vector3 Position, World BaseTransformation, World AuxTransformation, int SectionIndex, double TrackPosition, double Brightness ) : int
CreateAnimatedWorldObject ( AnimatedObject Prototype, World Position, World BaseTransformation, World AuxTransformation, int SectionIndex, double TrackPosition, double Brightness ) : int
CreateAnimatedWorldObjects ( AnimatedObject Prototypes, System.Vector3 Position, World BaseTransformation, World AuxTransformation, int SectionIndex, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : void
CreateAnimatedWorldObjects ( AnimatedObject Prototypes, World Position, World BaseTransformation, World AuxTransformation, int SectionIndex, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : void
CreateDynamicObject ( ) : int
CreateObject ( UnifiedObject Prototype, System.Vector3 Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition ) : void
CreateObject ( UnifiedObject Prototype, System.Vector3 Position, World BaseTransformation, World AuxTransformation, int SectionIndex, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : void
CreateObject ( UnifiedObject Prototype, World Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition ) : void
CreateObject ( UnifiedObject Prototype, World Position, World BaseTransformation, World AuxTransformation, int SectionIndex, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : void
CreateStaticObject ( StaticObject Prototype, System.Vector3 Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition ) : int
CreateStaticObject ( StaticObject Prototype, System.Vector3 Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double AccurateObjectDisposalZOffset, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : int
CreateStaticObject ( StaticObject Prototype, World Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition ) : int
CreateStaticObject ( StaticObject Prototype, World Position, World BaseTransformation, World AuxTransformation, bool AccurateObjectDisposal, double AccurateObjectDisposalZOffset, double StartingDistance, double EndingDistance, double BlockLength, double TrackPosition, double Brightness, bool DuplicateMaterials ) : int
FinishCreatingObjects ( ) : void
InitializeAnimatedObject ( AnimatedObject &Object, int StateIndex, bool Overlay, bool Show ) : void
InitializeVisibility ( ) : void
JoinObjects ( StaticObject &Base, StaticObject Add ) : void
LoadObject ( string FileName, System Encoding, ObjectLoadMode LoadMode, bool PreserveVertices, bool ForceTextureRepeatX, bool ForceTextureRepeatY ) : UnifiedObject
LoadObject ( string FileName, System Encoding, ObjectLoadMode LoadMode, bool PreserveVertices, bool ForceTextureRepeatX, bool ForceTextureRepeatY, double RotationX, double RotationY, double RotationZ ) : UnifiedObject
LoadStaticObject ( string FileName, System Encoding, ObjectLoadMode LoadMode, bool PreserveVertices, bool ForceTextureRepeatX, bool ForceTextureRepeatY ) : StaticObject
Mod ( double a, double b ) : double
OptimizeObject ( StaticObject Prototype, bool PreserveVertices ) : void
OptimizeObject ( UnifiedObject Prototype, bool PreserveVertices ) : void
UpdateAnimatedObject ( AnimatedObject &Object, bool IsPartOfTrain, TrainManager Train, int CarIndex, int SectionIndex, double TrackPosition, System.Vector3 Position, System.Vector3 Direction, System.Vector3 Up, System.Vector3 Side, bool Overlay, bool UpdateFunctions, bool Show, double TimeElapsed ) : void

Updates the position and state of the specified animated object

UpdateAnimatedObject ( AnimatedObject &Object, bool IsPartOfTrain, TrainManager Train, int CarIndex, int SectionIndex, double TrackPosition, World Position, World Direction, World Up, World Side, bool Overlay, bool UpdateFunctions, bool Show, double TimeElapsed ) : void
UpdateAnimatedWorldObjects ( double TimeElapsed, bool ForceUpdate ) : void
UpdateDamping ( Damping &Damping, double TimeElapsed, double &Angle ) : void
UpdateTrackFollowerScript ( AnimatedObject &Object, bool IsPartOfTrain, TrainManager Train, int CarIndex, int SectionIndex, double TrackPosition, System.Vector3 Position, System.Vector3 Direction, System.Vector3 Up, System.Vector3 Side, bool Overlay, bool UpdateFunctions, bool Show, double TimeElapsed ) : double
UpdateTrackFollowingObject ( AnimatedWorldObject &Object ) : void

Updates the position and rotation of an animated object which follows a track

UpdateVisibility ( double TrackPosition ) : void
UpdateVisibility ( double TrackPosition, bool ViewingDistanceChanged ) : void