HitData Constructor (RaycastHit, TouchLayer, Boolean) |
Initializes a new instance of the
HitData struct from a 3D raycast.
Namespace:
TouchScript.Hit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public HitData(
RaycastHit value,
TouchLayer layer,
bool screenSpace = false
)
Parameters
- value
- Type: RaycastHit
3D raycast value. - layer
- Type: TouchScript.LayersTouchLayer
- screenSpace (Optional)
- Type: SystemBoolean
See Also