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

 

y (vector property)

Syntax

member(whichCastmember).vector.y
member(whichCastmember).vector[2]

Description

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

Example

This statement shows the y component of a vector.

vec = vector(20, 30, 40)
put vec.y
-- 30.0000