C# Class Radegast.Rendering.SceneObject

Base class for all scene objects
Inheritance: IComparable, IDisposable
Afficher le fichier Open project: justasabc/UnityOpenSimClient Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

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

Dispose() public méthode

Cleanup resources used
public Dispose ( ) : void
Résultat void

EndAlphaQuery() public méthode

public EndAlphaQuery ( ) : void
Résultat void

EndQuery() public méthode

public EndQuery ( RenderPass pass ) : void
pass RenderPass
Résultat void

EndSimpleQuery() public méthode

public EndSimpleQuery ( ) : void
Résultat void

Initialize() public méthode

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

Occluded() public méthode

public Occluded ( ) : bool
Résultat bool

Render() public méthode

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
Résultat void

StartAlphaQuery() public méthode

public StartAlphaQuery ( ) : void
Résultat void

StartQuery() public méthode

public StartQuery ( RenderPass pass ) : void
pass RenderPass
Résultat void

StartSimpleQuery() public méthode

public StartSimpleQuery ( ) : void
Résultat void

Step() public méthode

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

Property Details

AlphaQueryID public_oe property

public int AlphaQueryID
Résultat int

BoundingVolume public_oe property

Bounding volume of the object
public BoundingVolume,Radegast.Rendering BoundingVolume
Résultat BoundingVolume

DistanceSquared public_oe property

Per frame calculated square of the distance from camera
public float DistanceSquared
Résultat float

HasAlphaFaces public_oe property

public bool HasAlphaFaces
Résultat bool

HasInvisibleFaces public_oe property

public bool HasInvisibleFaces
Résultat bool

HasSimpleFaces public_oe property

public bool HasSimpleFaces
Résultat bool

Initialized public_oe property

Were initial initialization tasks done
public bool Initialized
Résultat bool

InterpolatedPosition public_oe property

Interpolated local position of the object
public Vector3,System InterpolatedPosition
Résultat System.Vector3

InterpolatedRotation public_oe property

public Quaternion InterpolatedRotation
Résultat Quaternion

IsDisposed public_oe property

Is this object disposed
public bool IsDisposed
Résultat bool

PositionCalculated public_oe property

Was the sim position and distance from camera calculated during this frame
public bool PositionCalculated
Résultat bool

RenderPosition public_oe property

Rendered position of the object in the region
public Vector3,System RenderPosition
Résultat System.Vector3

RenderRotation public_oe property

Rendered rotationm of the object in the region
public Quaternion RenderRotation
Résultat Quaternion

SimpleQueryID public_oe property

public int SimpleQueryID
Résultat int

Type public_oe property

Scene object type
public SceneObjectType Type
Résultat SceneObjectType