Variable

Access the value and properties of a Variable.

Static Variables


Name Description
type Active VariableType of the current Variable.

Variables


Name Description
step Specifies the default step value of the Variable.
read_only Specifies wheter or not the Variable is read only.
uniform Determine wheter or not the Variable is a Uniform.
constant Controls if the Variable should be treated as a constant value.
range Specify the range (minium=X, maximum=Y`) of the Variable.
name Internal name of the Variable.
comment A user defined comment to use as hint when the pointing device hover the Variable.
_bool Access the boolean value of the Variable.
_int Access the integer value of the Variable.
_float Access the floating point value of the Variable.
_vec2 Access the 2d vector value of the Variable.
_vec3 Access the 3d vector value of the Variable.
_vec4 Access the 4d vector value of the Variable.
_quat Access the quaternion value of the Variable.
_string Access the string value of the Variable.

VariableType


  • kBool: Boolean value.
  • kInt: Integer value.
  • kFloat: Floating point value.
  • kVec2: 2D vector value.
  • kVec3: 3D vector value.
  • kVec4: 4D vector value
  • kColor: Color component (RGBA).
  • kQuat: Quaternion (XYZW).
  • kString: Chain of characters.
  • kWidget: A Widget reference (Property only.)




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA