SurfacePoint3
SurfacePoint3
Used for representing points on a 3D surface. Used for Ray Casting contacts
Kind: global class
- SurfacePoint3
- .normal :
Vector3 - .position :
Vector3 - .index :
number - .applyMatrix4(m)
- .fromArray(array, [offset])
- .toArray(array, [offset])
- .equals(other) ⇒
boolean - .copy(other)
- .clone() ⇒
SurfacePoint3
- .normal :
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
| Param | Type |
|---|---|
| m | Array.<number> | mat4 | Float32Array |
surfacePoint3.fromArray(array, [offset])
Kind: instance method of SurfacePoint3
| Param | Type | Default |
|---|---|---|
| array | Array.<number> | ArrayLike.<number> | Float32Array | |
| [offset] | number | 0 |
surfacePoint3.toArray(array, [offset])
Kind: instance method of SurfacePoint3
| Param | Type | Default |
|---|---|---|
| array | Array.<number> | ArrayLike.<number> | Float32Array | |
| [offset] | number | 0 |
surfacePoint3.equals(other) ⇒ boolean
Kind: instance method of SurfacePoint3
| Param | Type |
|---|---|
| other | SurfacePoint3 |
surfacePoint3.copy(other)
Kind: instance method of SurfacePoint3
| Param | Type |
|---|---|
| other | SurfacePoint3 |
surfacePoint3.clone() ⇒ SurfacePoint3
Kind: instance method of SurfacePoint3