C# Class Axiom.Graphics.MovablePlane

Definition of a Plane that may be attached to a node, and the derived details of it retrieved simply.
This plane is not here for rendering purposes, it's to allow you to attach planes to the scene in order to have them move and follow nodes on their own, which is useful if you're using the plane for some kind of calculation, e.g. reflection.
Inheritance: Axiom.Core.MovableObject, IDerivedPlaneProvider
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
containedPlane Axiom.MathLib.Plane
derivedPlane Axiom.MathLib.Plane
isDirty bool
lastRotate Axiom.MathLib.Quaternion
lastTranslate Vector3
nullBB Axiom.MathLib.AxisAlignedBox

Public Methods

Method Description
MovablePlane ( string name ) : System

Constructor.

NotifyCurrentCamera ( Camera camera ) : void
UpdateRenderQueue ( RenderQueue queue ) : void

Method Details

MovablePlane() public method

Constructor.
public MovablePlane ( string name ) : System
name string Name of this plane.
return System

NotifyCurrentCamera() public method

public NotifyCurrentCamera ( Camera camera ) : void
camera Axiom.Core.Camera
return void

UpdateRenderQueue() public method

public UpdateRenderQueue ( RenderQueue queue ) : void
queue RenderQueue
return void

Property Details

containedPlane protected property

Underlying plane representation.
Ogre uses multiple inheritance for this purpose - bah! ;)
protected Plane,Axiom.MathLib containedPlane
return Axiom.MathLib.Plane

derivedPlane protected property

Plane as transformed by it's parent node.
protected Plane,Axiom.MathLib derivedPlane
return Axiom.MathLib.Plane

isDirty protected property

Flag for whether changes have been made to this planes position/rotation.
protected bool isDirty
return bool

lastRotate protected property

Cached rotation.
protected Quaternion,Axiom.MathLib lastRotate
return Axiom.MathLib.Quaternion

lastTranslate protected property

Cached translation vector.
protected Vector3 lastTranslate
return Vector3

nullBB protected property

Bounding box.
protected AxisAlignedBox,Axiom.MathLib nullBB
return Axiom.MathLib.AxisAlignedBox