Copies x, y, z and w from p
The point to copy from
Writes this point's x, y, z and w into p
The point to copy into
The given point with values updated
Checks whether x, y, z and w all match p exactly, with no tolerance
The point to compare against
Sets all four components
Optionalx: number
The x component
Optionaly: number
The y component, defaults to x
Optionalz: number
The z component, defaults to x
Optionalw: number
The fourth component, defaults to 1, not to x
Fourth component, by convention 1 for a position and 0 for a direction
The x component
The y component
The z component
A PointData4D you can also set, copy and compare
Example