 | RaycastHelperScreenRaycast Method (Camera, RaycastHit, Int32) |
Cast a ray from the mouse position.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static bool ScreenRaycast(
Camera camera,
out RaycastHit hit,
int layerMask = -5
)
Request Example
View SourceParameters
- camera
- Type: Camera
- hit
- Type: RaycastHit
- layerMask (Optional)
- Type: SystemInt32
Return Value
Type:
Boolean
See Also