Class JSC3D.PickInfo
PickInfo
PickInfo is used as the return value of {JSC3D.Viewer}'s pick() method, holding picking result on a given position
on the canvas.
Defined in: jsc3d.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
X coordinate on canvas.
|
|
Y coordinate on canvas.
|
|
The depth value.
|
|
Mesh picked on current position or null if none.
|
Field Detail
canvasX
X coordinate on canvas.
canvasY
Y coordinate on canvas.
depth
The depth value.
mesh
Mesh picked on current position or null if none.