Skip to main content
Version: 5.x

Nodes > Inputs

AABB Max​

Returns the maximum value in each dimension of the axis-aligned bounding box containing the mesh.

AABB Min​

Returns the minimum value in each dimension of the axis-aligned bounding box containing the mesh.

Bone Indices​

Returns bone indices for skinned meshes. One index is contained in each xyzw component.

Bone Weights​

Returns bone weights for skinned meshes. The 'x' component is a max-weighted component clamped to 0.99.

Bool Parameter​

Adds a boolean parameter to the material.

Bool Value​

Returns a predefined boolean value.

Camera Aspect​

Aspect ratio (width / height) of the camera.

Camera FOV​

Field of view of the camera in degrees.

Camera Facing Ratio​

Ratio, from 0 to 1, that this surface is facing the camera.

Camera Far​

Far plane distance of the camera.

Camera Forward​

Direction vector that the camera is facing.

Camera Near​

Near plane distance of the camera.

Camera Position​

World position of the camera.

Camera Right​

Camera's right facing direction vector.

Camera Up​

Camera's up facing direction vector.

Color Parameter​

Adds a color parameter to the material.

Color Value​

Returns a predefined color value.

Curve Object Parameter​

Exposes a curve parameter on the material.

Curve Parameter​

Adds a curve object parameter to the material, and returns the sampled value of an input curve.

Custom Vertex Attribute​

Returns the value of a custom vertex attribute of the current surface. Custom vertex attributes can be added to meshes using the MeshBuilder script API.

Delta Time​

Time elapsed since last frame.

Depth​

Returns the camera depth of the surface

Droplist Parameter​

Adds a dropdown list parameter to the material.

Elapsed Time​

Total time elapsed.

Faceted Normal​

Returns flat normals to give a polygonal, faceted look. Plug this into the Override node (after PBR) to achieve the effect.

Float Array Object Parameter​

Adds a float array parameter to the material.

Float Array Object Value​

Creates a predefined Float Array, and returns it as an object so it can be sampled or passed in to a sub-graph.

Float Array Parameter​

Adds a float array parameter to the material and samples a value from it.

Float Array Value​

Creates a static Float Array value, and samples and returns the array value at the specified index.

Float Parameter​

Adds a float parameter to the material.

Float Value​

Returns a predefined float value.

GSplat Data​

Exposes the raw attributes of the splat, which are the parameters to the vertex shader used to position the splat ellipsoid in 3D space.

Hair Debug Color​

Visualizes hair strands as different colors depending on their type: green for base strands, blue for strands generated by single strand interpolation, red for strands generated by multi strand interpolation.

The "Debug mode" checkbox must be enabled on the Hair Visual Component for this node to work.

Hair Strand ID​

The hair strand ID as a float value, but divided by 65535.

Instance Count​

Returns the material's "Instance Count" parameter, which controls how many instances of the mesh will be drawn each time the material is rendered.

Instance ID​

Instance ID of the instance being drawn. Used with the material's "Instance Count" property.

Instance Ratio​

Ratio of the current Instance ID compared to the total Instance Count. Useful when the material's "Instance Count" is greater than 1, which causes multiple instances of the mesh to be drawn.

Int Parameter​

Adds an integer parameter to the material.

Int Value​

Returns a predefined integer value.

Is Fallback Mode​

Provides a way to bypass advanced shader features and effects which can improve stability and performance on a wide variety of devices.

Is Front Facing​

Returns 1 if the surface is front facing, 0 if back facing.

Matrix​

Outputs a transformation matrix from the engine, based on the selected Type.

Matrix Parameter​

Adds a matrix parameter to the material.

Matrix Value​

Returns a predefined matrix value that can be used with other nodes.

PI​

Various version of the PI constant

Primitive Count​

Outputs the total number of primitives in the mesh being rendered.

Reflection Vector​

Returns the view vector reflected over the surface normal.

Refraction Vector​

Returns the view vector refracted through the surface.

Screen UV Coord​

Screen coordinates of the current surface.

Skin Matrix​

Get the skin matrix at a given bone index. Note the skin matrix is not available in the fragment shader.

Stereo View Index​

Index of the current stereo view. For stereo cameras, returns 0 for the left eye view and 1 for the right eye view. Returns 0 for mono cameras.

Surface Bitangent​

Returns the Bitangent direction vector of the surface.

Surface Color​

Vertex color of the surface.

Surface Normal​

Normal direction of the surface.

Surface Position​

Position of the surface.

Surface Tangent​

Tangent direction of the surface.

Surface UV Coord​

UV 0 coordinates of the surface.

Text Data​

Per-pass text data (Pass ID, colors, coverage mask, SDF distance, and UV) for building custom Text materials.

Texture 2D Array Object Parameter​

Exposes a texture array parameter on the material. This value can be modified through the Inspector panel or by script at runtime.

Texture 2D Array Parameter​

Exposes a texture array parameter on the material. This value can be modified through the Inspector panel or by script at runtime. In addition, this node automatically samples the texture and returns the color value.

Texture 2D Object Parameter​

Adds a texture object parameter to the material.

Texture 2D Parameter​

Adds a texture object parameter to the material, and returns the sampled color.

Texture 3D Object Parameter​

Exposes a 3D texture object parameter on the material. This value can be modified through the Inspector panel or by script at runtime.

Texture 3D Parameter​

Adds a 3D texture object parameter to the material, and returns the sampled color.

Texture Cube Object Parameter​

Exposes a texture cube parameter on the material.

Texture Cube Parameter​

Adds a texture cube parameter on the material and returns the sampled color at the given a 3D direction vector

Triplanar UV Coord​

Returns the projected UV coordinate when used with Loop ( Triplanar UV ).

Vertex ID​

Outputs the vertex index of the surface.

View Vector​

Direction vector from the surface position to the camera.

Was this page helpful?
Yes
No