C# Class Radegast.Rendering.SceneObject

Base class for all scene objects
Inheritance: IComparable, IDisposable
Datei anzeigen Open project: justasabc/UnityOpenSimClient Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
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

Method Details

CompareTo() public method

Implementation of the IComparable interface used for sorting by distance
public CompareTo ( object other ) : int
other object Object we are comparing to
return int

Dispose() public method

Cleanup resources used
public Dispose ( ) : void
return void

EndAlphaQuery() public method

public EndAlphaQuery ( ) : void
return void

EndQuery() public method

public EndQuery ( RenderPass pass ) : void
pass RenderPass
return void

EndSimpleQuery() public method

public EndSimpleQuery ( ) : void
return void

Initialize() public method

Task performed the fist time object is set for rendering
public Initialize ( ) : void
return void

Occluded() public method

public Occluded ( ) : bool
return bool

Render() public method

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
return void

StartAlphaQuery() public method

public StartAlphaQuery ( ) : void
return void

StartQuery() public method

public StartQuery ( RenderPass pass ) : void
pass RenderPass
return void

StartSimpleQuery() public method

public StartSimpleQuery ( ) : void
return void

Step() public method

Perform per frame tasks
public Step ( float time ) : void
time float Time since the last call (last frame time in seconds)
return void

Property Details

AlphaQueryID public_oe property

public int AlphaQueryID
return int

BoundingVolume public_oe property

Bounding volume of the object
public BoundingVolume,Radegast.Rendering BoundingVolume
return BoundingVolume

DistanceSquared public_oe property

Per frame calculated square of the distance from camera
public float DistanceSquared
return float

HasAlphaFaces public_oe property

public bool HasAlphaFaces
return bool

HasInvisibleFaces public_oe property

public bool HasInvisibleFaces
return bool

HasSimpleFaces public_oe property

public bool HasSimpleFaces
return bool

Initialized public_oe property

Were initial initialization tasks done
public bool Initialized
return bool

InterpolatedPosition public_oe property

Interpolated local position of the object
public Vector3,System InterpolatedPosition
return System.Vector3

InterpolatedRotation public_oe property

public Quaternion InterpolatedRotation
return Quaternion

IsDisposed public_oe property

Is this object disposed
public bool IsDisposed
return bool

PositionCalculated public_oe property

Was the sim position and distance from camera calculated during this frame
public bool PositionCalculated
return bool

RenderPosition public_oe property

Rendered position of the object in the region
public Vector3,System RenderPosition
return System.Vector3

RenderRotation public_oe property

Rendered rotationm of the object in the region
public Quaternion RenderRotation
return Quaternion

SimpleQueryID public_oe property

public int SimpleQueryID
return int

Type public_oe property

Scene object type
public SceneObjectType Type
return SceneObjectType