Skip to main content

SurfacePoint3

SurfacePoint3

Used for representing points on a 3D surface. Used for raycasting contacts

Kind: global class

surfacePoint3.normal : Vector3

Kind: instance property of SurfacePoint3
Read only: true

surfacePoint3.position : Vector3

Kind: instance property of SurfacePoint3
Read only: true

surfacePoint3.index : number

Primitive index, such as triangle/point/line from the source geometry optional

Kind: instance property of SurfacePoint3

surfacePoint3.applyMatrix4(m)

Kind: instance method of SurfacePoint3

ParamType
mArray.<number> | mat4 | Float32Array

surfacePoint3.applyMatrix4_three(matrix4)

Deprecated

Kind: instance method of SurfacePoint3

ParamType
matrix4THREE.Matrix4

surfacePoint3.fromArray(array, [offset])

Kind: instance method of SurfacePoint3

ParamTypeDefault
arrayArray.<number> | ArrayLike.<number> | Float32Array
[offset]number0

surfacePoint3.toArray(array, [offset])

Kind: instance method of SurfacePoint3

ParamTypeDefault
arrayArray.<number> | ArrayLike.<number> | Float32Array
[offset]number0

surfacePoint3.equals(other) ⇒ boolean

Kind: instance method of SurfacePoint3

ParamType
otherSurfacePoint3

surfacePoint3.copy(other)

Kind: instance method of SurfacePoint3

ParamType
otherSurfacePoint3

surfacePoint3.clone() ⇒ SurfacePoint3

Kind: instance method of SurfacePoint3