Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Clone

Clone

Updated: 22 Mar 2024

Clone children in a Procedural System.

image

image

Example .dfx

Method #

This node makes copies of its children sequentially using the nodes transforms, where each clone is translated, scaled, and rotated from the previous using the Transform values.

Nodes that are to be cloned should be connected to the output of this node. Any Procedural node can be connected, although the render nodes cannot be cloned.

Parameters

These properties control the 3D transforms of the node. Transforms will generally be inherited by child nodes, although they can be ignored through the Inherit Transform Channels attributes.

ParameterDetails
Position XThe objects position along the local x-axis.
Position YThe objects position along the local y-axis.
Position ZThe objects position along the local z-axis.
Rotation HeadingThe objects rotation around the local y-axis.
Rotation PitchThe objects rotation around the local x-axis.
Rotation BankThe objects rotation around the local z-axis.
Scale XThe objects scale along the local x-axis.
Scale YThe objects scale along the local y-axis.
Scale ZThe objects scale along the local z-axis.

Control the inheritance of the transforms from the parent.

ParameterDetails
PositionToggle inheritance of the Position from the parent.
RotationToggle inheritance of the Rotation from the parent.
ScaleToggle inheritance of the Scale from the parent.
World Position OnlyInherit the world position from the parent only, rotation and scale will be ignored. Overrides above properties.
Inherit TimeToggle inheritance of time from the parent.

These properties control the core behaviours of the node.

ParameterDetails
Clone CountThe number of clones to produce.
CSG Blend WeightHow much the new procedural blends with the old procedurals, depending on the CSG Blend Weight.
Affect ColourAffect the colour of the generated procedural system. only functions with ‘Generate Colours’ enabled in some Procedural Render nodes.
Always Enabled (No Time Bars)When enabled, this node will run regardless of time bar enable/disable. Due to how Notch handles shader generation with procedurals, with this enabled the node runs more efficiently.
Material ColourModify the colour for the procedural material.
CSG ModeThese options change how a this procedural node combines with the existing of the procedural system.
  • Replace : Replaces the previous procedural system with a new procedural shape.
  • Union : Simply combines both the new procedural shape and the existing procedural system.
  • Intersection : Interesects the new shape with the shape before.
  • Subtract : Subtracts the new procedural shape from the existing procedural system.
  • Blend : Blends between both the new procedural shape and the existing procedural system, driven by the CSG Blend Weight.
  • Union Blend : A combination of union and blend which tries to preserve both objects more, with the blending being driven by the CSG Blend Weight.
  • Smooth Union : The new procedural is added to the old, and smoothing (driven by the CSG Blend Weight) is applied to the outcome.
  • Smooth Subtract : The new procedural shape is subtracted from the existing procedural system, and smoothing (driven by the CSG Blend Weight) is applied to the outcome.
  • Offset : Blends one procedural ontop of the other another withing the area of the original procedural system.
  • Custom Code : Allows you to enter your own expression code.
Custom CSG CodeType your Custom code here, using the HLSL language. Read more on Editable Code.

Inputs

NameDescriptionTypical Input
Transform ModifiersApply the transforms of another node to this node.Null
Target NodeModifiy the rotations of the node to always direct the z axis towards the input.Null
Local Transform OverrideApply the transforms of another node to this node, relative to its parent.Null