[][src]Enum nsi::context::NodeType

pub enum NodeType {
    All,
    Root,
    Global,
    Set,
    Shader,
    Attributes,
    Transform,
    Instances,
    Plane,
    Mesh,
    FaceSet,
    Curves,
    Particles,
    Procedural,
    Volume,
    Environment,
    Camera,
    OrthographicCamera,
    PerspectiveCamera,
    FisheyeCamera,
    CylindricalCamera,
    SphericalCamera,
    OutputDriver,
    OutputLayer,
    Screen,
}

The type for a node in the ɴsɪ scene graph.

This will just convert into a Vec<u8> of the string representing the node type when you use it.

Variants

All

Wildcard node that references all existing nodes at once.

Root

The scene’s root (".root"). Documentation.

Global

Global settings node (".global"). Documentation.

Set

Expresses relationships of groups of nodes. Documentation.

Shader

ᴏsʟ shader or layer in a shader group. Documentation.

Attributes

Container for generic attributes (e.g. visibility). Documentation.

Transform

Transformation to place objects in the scene. Documentation.

Instances

Specifies instances of other nodes. Documentation.

Plane

An infinite plane. Documentation.

Mesh

Polygonal mesh or subdivision surface. Documentation.

FaceSet

Assign attributes to part of a mesh, curves or paticles. Documentation.

Curves

Linear, b-spline and Catmull-Rom curves. Documentation.

Particles

Collection of particles. Documentation.

Procedural

Geometry to be loaded or generated in delayed fashion. Documentation.

Volume

A volume loaded from an OpenVDB file. Documentation.

Also see the volume example.

Environment

Geometry type to define environment lighting. Documentation.

Camera

Set of nodes to create viewing cameras. Documentation.

OrthographicCamera
PerspectiveCamera
FisheyeCamera
CylindricalCamera
SphericalCamera
OutputDriver

A target where to output rendered pixels. Documentation.

OutputLayer

Describes one render layer to be connected to an outputdriver node. Documentation.

Screen

Describes how the view from a camera node will be rasterized into an outputlayer node. Documentation.

Trait Implementations

impl From<NodeType> for Vec<u8>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,