User Tools

Site Tools


api:random_vector3_range

RANDOM_VECTOR3_RANGE

Category: Data

Cloneable

Properties


Min

Serialized

Lower value of Range.

  • Type: vec3f
  • Expected: vec3f value
  • Default value: { 0, 0, 0 }

Max

Serialized

Upper value of Range.

  • Type: vec3f
  • Expected: vec3f value
  • Default value: { 1, 1, 1 }

LockValues

Serialized

If true, the values will stay proportional to each other; ex. Min = { 0, 0, 1 } & Max = { 0.5, 0.5, 1 } will return random values like : { 0.25, 0.25, 0.5 }. If false, each value will be random; ex. Min = { 0, 0, 0.5 } & Max = { 0.5, 0.5, 1 } will return random values like : { 0.15, 0.45, 0.95 } or { 0.35, 0.05, 0.55 }.

  • Type: boolean
  • Expected: boolean value
  • Default value: false
api/random_vector3_range.txt · Last modified: 2024/02/06 13:54 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki