Struct kiss3d::scene::SceneNodeData [] [src]

pub struct SceneNodeData { /* fields omitted */ }

The datas contained by a SceneNode.

Methods

impl SceneNodeData
[src]

Whether this node contains an Object.

Whether this node has no parent.

Render the scene graph rooted by this node.

A reference to the object possibly contained by this node.

A mutable reference to the object possibly contained by this node.

A reference to the object possibly contained by this node.

Failure

Fails of this node does not contains an object.

A mutable reference to the object possibly contained by this node.

Failure

Fails of this node does not contains an object.

Sets the material of the objects contained by this node and its children.

Sets the material of the objects contained by this node and its children.

The material must already have been registered as name.

Sets the width of the lines drawn for the objects contained by this node and its children.

Sets the size of the points drawn for the objects contained by this node and its children.

Activates or deactivates the rendering of the surfaces of the objects contained by this node and its children.

Activates or deactivates backface culling for the objects contained by this node and its children.

Mutably accesses the vertices of the objects contained by this node and its children.

The provided closure is called once per object.

Accesses the vertices of the objects contained by this node and its children.

The provided closure is called once per object.

Recomputes the normals of the meshes of the objects contained by this node and its children.

Mutably accesses the normals of the objects contained by this node and its children.

The provided closure is called once per object.

Accesses the normals of the objects contained by this node and its children.

The provided closure is called once per object.

Mutably accesses the faces of the objects contained by this node and its children.

The provided closure is called once per object.

Accesses the faces of the objects contained by this node and its children.

The provided closure is called once per object.

Mutably accesses the texture coordinates of the objects contained by this node and its children.

The provided closure is called once per object.

Accesses the texture coordinates of the objects contained by this node and its children.

The provided closure is called once per object.

Get the visibility status of node.

Sets the visibility of this node.

The node and its children are not rendered if it is not visible.

Sets the color of the objects contained by this node and its children.

Colors components must be on the range [0.0, 1.0].

Sets the texture of the objects contained by this node and its children.

The texture is loaded from a file and registered by the global TextureManager.

Arguments

  • path - relative path of the texture on the disk

Sets the texture of the objects contained by this node and its children.

The texture must already have been registered as name.

Sets the texture of the objects contained by this node and its children.

Applies a closure to each object contained by this node and its children.

Applies a closure to each object contained by this node and its children.

Sets the local scaling factors of the object.

Returns the scaling factors of the object.

Move and orient the object such that it is placed at the point eye and have its z axis oriented toward at.

This node local transformation.

Inverse of this node local transformation.

This node world transformation.

This will force an update of the world transformation of its parents if they have been invalidated.

The inverse of this node world transformation.

This will force an update of the world transformation of its parents if they have been invalidated.

Appends a transformation to this node local transformation.

Prepends a transformation to this node local transformation.

Set this node local transformation.

This node local translation.

The inverse of this node local translation.

Appends a translation to this node local transformation.

Prepends a translation to this node local transformation.

Sets the local translation of this node.

This node local rotation.

The inverse of this node local rotation.

Appends a rotation to this node local transformation.

Appends a rotation to this node local transformation.

Prepends a rotation to this node local transformation.

Sets the local rotation of this node.