Divooka Reference

Custom Tree Nodes

2 nodes

On this page 2

Configure Replication

Function

This node carries no documentation.

Signature
ConfigureReplication -> SelfReplicatingTree.ReplicationOptions
    iterations: Integer
    baseLengthScale: Low Accuracy Number
    iterationLengthDecay: Low Accuracy Number
SelfReplicatingTree.ReplicationOptions ConfigureReplication(
    int iterations = 4,
    float baseLengthScale = 1f,
    float iterationLengthDecay = 0.8f)

Parameters

nametypedefaultdescription
iterationsInteger4
baseLengthScaleLow Accuracy Number1
iterationLengthDecayLow Accuracy Number0.8

Returns

resultSelfReplicatingTree.ReplicationOptions
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Custom Tree Nodes
Package
Procedural Generation

Create Tree Node

Function

This node carries no documentation.

Overload 1 of 3

Signature
CreateTreeNode(position: Vector3d) -> TreeNode
TreeNode CreateTreeNode(Vector3d position)

Parameters

nametypedefaultdescription
positionVector3d—

Returns

resultTreeNode

Overload 2 of 3

Signature
CreateTreeNode -> TreeNode
    position: Vector3d
    children: TreeNode Array
TreeNode CreateTreeNode(Vector3d position, TreeNode[] children)

Parameters

nametypedefaultdescription
positionVector3d—
childrenTreeNode Array—

Returns

resultTreeNode

Overload 3 of 3

Signature
CreateTreeNode(position: Vector3d, parent: TreeNode) -> TreeNode
TreeNode CreateTreeNode(Vector3d position, TreeNode parent)

Parameters

nametypedefaultdescription
positionVector3d—
parentTreeNode—

Returns

resultTreeNode
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Custom Tree Nodes
Package
Procedural Generation