wall.pos

Syntax

Vector Access

v = wall.pos(w<,i>)
wall.pos(w<,i>) = v

Get/set the wall position.

Returns:

v - wall position vector or component

Accepts:

v - wall position vector or component

Arguments:

w - wall pointer

i - optional vector component

Component Access

f = wall.pos.x(w)
wall.pos.x(w) = f

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

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

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

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

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

Returns:f - z-component of the wall position vector
Accepts:f - z-component of the wall position vector
Arguments:w - wall pointer