Struct hapi_rs::node::HoudiniNode

source ·
pub struct HoudiniNode {
    pub handle: NodeHandle,
    pub session: Session,
    pub info: Arc<NodeInfo>,
}
Expand description

Represents a Houdini node

Fields

handle: NodeHandlesession: Sessioninfo: Arc<NodeInfo>

Implementations

Convert this node instance into TopNode

Delete the node in this session.

Checks if the node valid (not deleted).

Returns node’s internal path.

Returns node’s path relative to another node.

Start cooking the node. This is a non-blocking call if the session is async.

Start cooking the node and wait until completed. In sync mode (single threaded), the error will be available in Err(..) while in threaded cooking mode the status will be in CookResult

How many times the node has been cooked.

Create a node in the session.

If the node is of Object type, get the information object about it.

Returns information objects about this node children.

Find all children of this node by type.

Get a child node by path.

Search for child node by name.

Return the node’s parent.

Find a parameter on the node by name. Err() means parameter not found.

Return all node parameters.

If node is an HDA, return [`AssetInfo’] about it.

Recursively check all nodes for a specific error.

Compose the cook result string (errors and warnings).

Resets the simulation cache of the asset.

Return a node connected to given input.

Give the node a new name.

Saves the node and all its contents to file

Loads and creates a previously saved node and all its contents from given file.

Returns a node preset as bytes.

Set the preset data to the node.

Return Geometry for this node if it’s a SOP node, otherwise find a child SOP node with display flag and return.

Search this node for TOP networks

How many geometry output nodes there is inside an Object or SOP node.

Return all output nodes as Geometry.

If node is an Object, return it’s transform.

Set transform on the Object

Set keyframes animation on the Object.

Connect output of another node into an input on this node.

Get the nodes currently connected to the given node at the output index.

Disconnect a given input index.

Disconnect a given output index.

Set display flag on this node.

Get the name of a node’s input.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.