clump.pos

Syntax

Vector Access

v = clump.pos(c<,i>)
clump.pos(c<,i>) = v

Get/set the clump position.

Returns:

v - clump position vector or component

Accepts:

v - clump position vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.pos.x(c)
clump.pos.x(c) = f

Get/set the x-component of the clump position.

Returns:f - x-component of the clump position vector
Accepts:f - x-component of the clump position vector
Arguments:c - clump pointer
f = clump.pos.y(c)
clump.pos.y(c) = f

Get/set the y-component of the clump position.

Returns:f - y-component of the clump position vector
Accepts:f - y-component of the clump position vector
Arguments:c - clump pointer
f = clump.pos.z(c) (3D ONLY)
clump.pos.z(c) = f (3D ONLY)

Get/set the z-component of the clump position.

Returns:f - z-component of the clump position vector
Accepts:f - z-component of the clump position vector
Arguments:c - clump pointer