C# Класс Radegast.Rendering.SceneObject

Base class for all scene objects
Наследование: IComparable, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AlphaQueryID int
BoundingVolume BoundingVolume
DistanceSquared float
HasAlphaFaces bool
HasInvisibleFaces bool
HasSimpleFaces bool
Initialized bool
InterpolatedPosition System.Vector3
InterpolatedRotation Quaternion
IsDisposed bool
PositionCalculated bool
RenderPosition System.Vector3
RenderRotation Quaternion
SimpleQueryID int
Type SceneObjectType

Открытые методы

Метод Описание
CompareTo ( object other ) : int

Implementation of the IComparable interface used for sorting by distance

Dispose ( ) : void

Cleanup resources used

EndAlphaQuery ( ) : void
EndQuery ( RenderPass pass ) : void
EndSimpleQuery ( ) : void
Initialize ( ) : void

Task performed the fist time object is set for rendering

Occluded ( ) : bool
Render ( RenderPass pass, int pickingID, SceneWindow scene, float time ) : void

Render scene object

StartAlphaQuery ( ) : void
StartQuery ( RenderPass pass ) : void
StartSimpleQuery ( ) : void
Step ( float time ) : void

Perform per frame tasks

Описание методов

CompareTo() публичный Метод

Implementation of the IComparable interface used for sorting by distance
public CompareTo ( object other ) : int
other object Object we are comparing to
Результат int

Dispose() публичный Метод

Cleanup resources used
public Dispose ( ) : void
Результат void

EndAlphaQuery() публичный Метод

public EndAlphaQuery ( ) : void
Результат void

EndQuery() публичный Метод

public EndQuery ( RenderPass pass ) : void
pass RenderPass
Результат void

EndSimpleQuery() публичный Метод

public EndSimpleQuery ( ) : void
Результат void

Initialize() публичный Метод

Task performed the fist time object is set for rendering
public Initialize ( ) : void
Результат void

Occluded() публичный Метод

public Occluded ( ) : bool
Результат bool

Render() публичный Метод

Render scene object
public Render ( RenderPass pass, int pickingID, SceneWindow scene, float time ) : void
pass RenderPass Which pass are we currently in
pickingID int ID used to identify which object was picked
scene SceneWindow Main scene renderer
time float Time it took to render the last frame
Результат void

StartAlphaQuery() публичный Метод

public StartAlphaQuery ( ) : void
Результат void

StartQuery() публичный Метод

public StartQuery ( RenderPass pass ) : void
pass RenderPass
Результат void

StartSimpleQuery() публичный Метод

public StartSimpleQuery ( ) : void
Результат void

Step() публичный Метод

Perform per frame tasks
public Step ( float time ) : void
time float Time since the last call (last frame time in seconds)
Результат void

Описание свойств

AlphaQueryID публичное свойство

public int AlphaQueryID
Результат int

BoundingVolume публичное свойство

Bounding volume of the object
public BoundingVolume,Radegast.Rendering BoundingVolume
Результат BoundingVolume

DistanceSquared публичное свойство

Per frame calculated square of the distance from camera
public float DistanceSquared
Результат float

HasAlphaFaces публичное свойство

public bool HasAlphaFaces
Результат bool

HasInvisibleFaces публичное свойство

public bool HasInvisibleFaces
Результат bool

HasSimpleFaces публичное свойство

public bool HasSimpleFaces
Результат bool

Initialized публичное свойство

Were initial initialization tasks done
public bool Initialized
Результат bool

InterpolatedPosition публичное свойство

Interpolated local position of the object
public Vector3,System InterpolatedPosition
Результат System.Vector3

InterpolatedRotation публичное свойство

public Quaternion InterpolatedRotation
Результат Quaternion

IsDisposed публичное свойство

Is this object disposed
public bool IsDisposed
Результат bool

PositionCalculated публичное свойство

Was the sim position and distance from camera calculated during this frame
public bool PositionCalculated
Результат bool

RenderPosition публичное свойство

Rendered position of the object in the region
public Vector3,System RenderPosition
Результат System.Vector3

RenderRotation публичное свойство

Rendered rotationm of the object in the region
public Quaternion RenderRotation
Результат Quaternion

SimpleQueryID публичное свойство

public int SimpleQueryID
Результат int

Type публичное свойство

Scene object type
public SceneObjectType Type
Результат SceneObjectType