Documentation
¶
Index ¶
- type AddToArrayNode
- type ArrayFromComponentsNode
- type ArrayFromNodesNode
- type Distance
- type Distances
- type DistancesToArray
- type DistancesToNodes
- type Dot
- type Double
- type Half
- type Inverse
- type Length
- type NewNode
- type Normalize
- type NormalizeArray
- type Scale
- type Select
- type SelectArray
- type Subtract
- type SubtractToArrayNode
- type SumNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddToArrayNode ¶ added in v0.32.0
type AddToArrayNode[T vector.Number] struct { Amount nodes.Output[vector3.Vector[T]] Array nodes.Output[[]vector3.Vector[T]] }
func (AddToArrayNode[T]) Out ¶ added in v0.32.0
func (cn AddToArrayNode[T]) Out(out *nodes.StructOutput[[]vector3.Vector[T]])
type ArrayFromComponentsNode ¶ added in v0.32.0
type ArrayFromComponentsNode[T vector.Number] struct { X nodes.Output[[]T] Y nodes.Output[[]T] Z nodes.Output[[]T] }
func (ArrayFromComponentsNode[T]) Out ¶ added in v0.32.0
func (snd ArrayFromComponentsNode[T]) Out(out *nodes.StructOutput[[]vector3.Vector[T]])
type ArrayFromNodesNode ¶ added in v0.32.0
func (ArrayFromNodesNode[T]) Out ¶ added in v0.32.0
func (node ArrayFromNodesNode[T]) Out(out *nodes.StructOutput[[]vector3.Vector[T]])
type Distance ¶ added in v0.27.0
type Distance[T vector.Number] struct { A nodes.Output[vector3.Vector[T]] B nodes.Output[vector3.Vector[T]] }
Returns a single float, representing the distance between A and B
type Distances ¶ added in v0.27.0
type Distances[T vector.Number] struct { A nodes.Output[[]vector3.Vector[T]] B nodes.Output[[]vector3.Vector[T]] }
Returns an array of floats, representing distance(a[i], b[i])
type DistancesToArray ¶ added in v0.27.0
type DistancesToArray[T vector.Number] struct { In nodes.Output[vector3.Vector[T]] Array nodes.Output[[]vector3.Vector[T]] }
Returns an array of floats, representing the distance between A to every element in B
func (DistancesToArray[T]) Distances ¶ added in v0.27.0
func (d DistancesToArray[T]) Distances(out *nodes.StructOutput[[]float64])
type DistancesToNodes ¶ added in v0.27.0
type DistancesToNodes[T vector.Number] struct { In nodes.Output[vector3.Vector[T]] Nodes []nodes.Output[vector3.Vector[T]] }
Returns an array of floats, representing the distance between A to every node connected to B
func (DistancesToNodes[T]) Distances ¶ added in v0.27.0
func (d DistancesToNodes[T]) Distances(out *nodes.StructOutput[[]float64])
type Dot ¶ added in v0.25.0
func (Dot) DotDescription ¶ added in v0.25.0
type Double ¶ added in v0.25.0
type Half ¶ added in v0.25.0
type Inverse ¶ added in v0.27.1
func (Inverse[T]) Additive ¶ added in v0.27.1
func (cn Inverse[T]) Additive(out *nodes.StructOutput[vector3.Float64])
func (Inverse[T]) AdditiveInt ¶ added in v0.27.1
func (cn Inverse[T]) AdditiveInt(out *nodes.StructOutput[vector3.Int])
func (Inverse[T]) Multiplicative ¶ added in v0.27.1
func (cn Inverse[T]) Multiplicative(out *nodes.StructOutput[vector3.Float64])
func (Inverse[T]) MultiplicativeInt ¶ added in v0.27.1
func (cn Inverse[T]) MultiplicativeInt(out *nodes.StructOutput[vector3.Int])
type Length ¶ added in v0.25.0
type Normalize ¶ added in v0.30.0
func (Normalize) NormalizeDescription ¶ added in v0.30.0
func (Normalize) Normalized ¶ added in v0.30.0
func (cn Normalize) Normalized(out *nodes.StructOutput[vector3.Float64])
type NormalizeArray ¶ added in v0.30.0
func (NormalizeArray) Global ¶ added in v0.32.1
func (cn NormalizeArray) Global(out *nodes.StructOutput[[]vector3.Float64])
func (NormalizeArray) GlobalDescription ¶ added in v0.32.1
func (cn NormalizeArray) GlobalDescription() string
func (NormalizeArray) Local ¶ added in v0.32.1
func (cn NormalizeArray) Local(out *nodes.StructOutput[[]vector3.Float64])
func (NormalizeArray) LocalDescription ¶ added in v0.32.1
func (cn NormalizeArray) LocalDescription() string
type Scale ¶ added in v0.25.0
type Scale[T vector.Number] struct { Vector nodes.Output[vector3.Vector[T]] `description:"The vector to scale"` Amount nodes.Output[float64] `description:"The amount the scale by (defaults to 1.0)"` }
type Select ¶ added in v0.25.0
func (Select[T]) X ¶ added in v0.25.0
func (node Select[T]) X(out *nodes.StructOutput[T])
func (Select[T]) Y ¶ added in v0.25.0
func (node Select[T]) Y(out *nodes.StructOutput[T])
func (Select[T]) Z ¶ added in v0.25.0
func (node Select[T]) Z(out *nodes.StructOutput[T])
type SelectArray ¶ added in v0.25.0
func (SelectArray[T]) X ¶ added in v0.25.0
func (node SelectArray[T]) X(out *nodes.StructOutput[[]T])
func (SelectArray[T]) Y ¶ added in v0.25.0
func (node SelectArray[T]) Y(out *nodes.StructOutput[[]T])
func (SelectArray[T]) Z ¶ added in v0.25.0
func (node SelectArray[T]) Z(out *nodes.StructOutput[[]T])
type Subtract ¶ added in v0.30.0
type SubtractToArrayNode ¶ added in v0.32.0
type SubtractToArrayNode[T vector.Number] struct { Amount nodes.Output[vector3.Vector[T]] Array nodes.Output[[]vector3.Vector[T]] }
func (SubtractToArrayNode[T]) Out ¶ added in v0.32.0
func (cn SubtractToArrayNode[T]) Out(out *nodes.StructOutput[[]vector3.Vector[T]])
Click to show internal directories.
Click to hide internal directories.