类: CSG.Vector

Cesium.CSG. CSG.Vector

new CSG.Vector(xOrArrayXYZOrVec, yopt, zopt)

class Vector
Represents a 3D vector.
Parameters:
Name Type Attributes Description
xOrArrayXYZOrVec Number | Array.<Number> | Cesium.CSG.Vector
y Number <optional>
z Number <optional>
Properties:
Name Type Description
x Number
y Number
z Number
Source:
Example
new CSG.Vector(1, 2, 3);
    new CSG.Vector([1, 2, 3]);
    new CSG.Vector({ x: 1, y: 2, z: 3 });