3D Lingo Dictionary > T-Z > z (vector property)

 

z (vector property)

Syntax

member(whichCastmember).vector.z
member(whichCastmember).vector[3]

Description

3D property; allows you to get or set the z component of a vector.

Example

This statement shows the z component of a vector.

vec = vector(20, 30, 40)
put vec.z
-- 40.0000