Vector3D
package flash.geom
Available on flash
Static variables
staticfinalread onlyX_AXIS:Vector3D
staticfinalread onlyY_AXIS:Vector3D
staticfinalread onlyZ_AXIS:Vector3D
Static methods
staticangleBetween(a:Vector3D, b:Vector3D):Float
staticdistance(pt1:Vector3D, pt2:Vector3D):Float
Constructor
new(x:Float = 0, y:Float = 0, z:Float = 0, w:Float = 0)
Variables
read onlylength:Float
read onlylengthSquared:Float
w:Float
x:Float
y:Float
z:Float
Methods
add(a:Vector3D):Vector3D
clone():Vector3D
copyFrom(sourceVector3D:Vector3D):Void
crossProduct(a:Vector3D):Vector3D
decrementBy(a:Vector3D):Void
dotProduct(a:Vector3D):Float
equals(toCompare:Vector3D, allFour:Bool = false):Bool
incrementBy(a:Vector3D):Void
nearEquals(toCompare:Vector3D, tolerance:Float, allFour:Bool = false):Bool
negate():Void
normalize():Float
project():Void
scaleBy(s:Float):Void
setTo(xa:Float, ya:Float, za:Float):Void
subtract(a:Vector3D):Vector3D
toString():String
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/geom/Vector3D.html