unreal.RigVMFunction_MathFloatArrayAverage

class unreal.RigVMFunction_MathFloatArrayAverage(array: None = [], average: float = 0.0)

Bases: RigVMFunction_MathFloatBase

Returns the average of the given array

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • array (Array[float]): [Read-Write] The array of numbers to average

  • average (float): [Read-Write] The resulting average

property array: None

[Read-Write] The array of numbers to average

Type:

(Array[float])

property average: float

[Read-Only] The resulting average

Type:

(float)