Returns the X coordinate value of a vector or point , after transforming to the coordinate space of inFrame. if, however, world? is True the X coordinate of p is returned.
localX ( 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 X coordinate is computed, if world? is False ; default is localFrame. |