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
显示文件 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_oe property

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

derivedPlane protected_oe property

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

isDirty protected_oe property

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

lastRotate protected_oe property

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

lastTranslate protected_oe property

Cached translation vector.
protected Vector3 lastTranslate
return Vector3

nullBB protected_oe property

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