Pointarray
From MoiWiki
Jump to navigationJump to searchpointarray
Pointarray is a special JavaScript object type in nodeeditor. It stores a sequence of values in a single array named data. It is the standard datatype to describe mathematical Points/Frames in the nodeeditor. The data array stores the following sequence for each point:
- x coordinate
- y coordinate
- z coordinate
- rx Euler angle in degree format
- ry Euler angle in degree format
- rz Euler angle in degree format
- scale - a scale value
Further more the pointarray stores also some metadata:
- recordlength describes the lengh that every point takes inside the //data// array
- length of the data array
- xlength describes the length of a sequence logical related points
- ylength describes the length of a sequence logical related points
- zlength describes the amount of logical point sequences
The meta data xlength, ylength and zlength can be used to split the data sequence in sub seqences to multiprocess e.g. curves