Class Qkmaxware::Rendering::MeshRenderer
Class List > Qkmaxware > Rendering > MeshRenderer
Object that can be rendered by the camera
Inherits the following classes: Qkmaxware::Rendering::SceneNode, Qkmaxware::Rendering::IRenderable
Public Attributes inherited from Qkmaxware::Rendering::SceneNode
See Qkmaxware::Rendering::SceneNode
| Type | Name | 
|---|---|
| Vec3 | Backward   = => -Forward World aligned backwards vector | 
| IEnumerable< SceneNode > | Children   = => children.AsReadOnly() All direct children of this scene node | 
| Vec3 | Down   = => -Up World aligned down vector | 
| Vec3 | Forward   = => LocalToWorldMatrix * Vec3.J World aligned forward vector | 
| Vec3 | Left   = => -Right World aligned left vector | 
| Transformation | LocalToWorldMatrix   = => (Parent != null) ? Parent.LocalToWorldMatrix * this.Transform : this.Transform Matrix to convert from local to world space | 
| Vec3 | Position   = => LocalToWorldMatrix * Vec3.Zero World position of this node | 
| Vec3 | Right   = => LocalToWorldMatrix * Vec3.I World aligned right vector | 
| Scene? | Scene   = => (Parent != null) ? Parent.Scene : this.root_scene Scene in which this node belongs | 
| Transformation | Transform   = = Transformation.Identity() Local transformation matrix representing the coordinate frame for this node | 
| Vec3 | Up   = => LocalToWorldMatrix * Vec3.K World aligned up vector | 
| Transformation | WorldToLocalMatrix   = => LocalToWorldMatrix.Inverse Matrix to convert from world to local space | 
Public Functions
| Type | Name | 
|---|---|
| MeshRenderer () Create empty renderable | |
| MeshRenderer (IEnumerable< Triangle > mesh) Create renderable with geometry | |
| MeshRenderer (IEnumerable< Triangle > mesh, Material material, IUvMap? uv=null) Create renderable geometry with uv's and texture data | 
Public Functions inherited from Qkmaxware::Rendering::SceneNode
See Qkmaxware::Rendering::SceneNode
| Type | Name | 
|---|---|
| void | Add (SceneNode node) Add a node to the scene graph under this node | 
| void | Detach () Remove this node from the scene graph | 
| IEnumerator< SceneNode > | GetEnumerator () | 
| void | Move (Vec3 delta) Move this node | 
| void | Remove (SceneNode node) Remove a node from the scene graph | 
| void | Rotate (Vec3 axis, double angle) Rotate this coordinate frame about an axis | 
| void | RotateAround (Vec3 point, Vec3 axis, double angle) Rotate this node around a point in space | 
Public Functions Documentation
function MeshRenderer [1/3]
inline Qkmaxware::Rendering::MeshRenderer::MeshRenderer () 
function MeshRenderer [2/3]
inline Qkmaxware::Rendering::MeshRenderer::MeshRenderer (
    IEnumerable< Triangle > mesh
) 
Parameters:
- meshgeometry
function MeshRenderer [3/3]
inline Qkmaxware::Rendering::MeshRenderer::MeshRenderer (
    IEnumerable< Triangle > mesh,
    Material material,
    IUvMap ? uv=null
) 
Parameters:
- meshgeometry
- materialmaterial
- uvuv map
The documentation for this class was generated from the following file Render/src/MeshRenderer.cs