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

 

x (vector property)

Syntax

member(whichCastmember).vector.x
member(whichCastmember).vector[1]

Description

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

Example

This statement shows the x component of a vector.

vec = vector(20, 30, 40)
put vec.x
-- 20.0000