Returns the Z coordinate value of a vector or point , after transforming to the coordinate space of inFrame. if, however, world? is True the Z coordinate of p is returned.
localZ ( p As Point, _ Optional world? As Boolean = False, _ Optional inFrame As Frame = localFrame ) As Number
Argument | Type | Description |
---|---|---|
p | any | A point or vector object |
world? | Boolean | Optional; if True transform to world space; default is False . |
inFrame | Frame | Optional; coordinate space in which the Z coordinate is computed, if world? is False ; default is localFrame. |