Click or drag to resize

RaycastHelper Class

Helper functions for ray-casting.
Inheritance Hierarchy
SystemObject
  KitRaycastHelper

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static class RaycastHelper
Request Example View Source
Methods
  NameDescription
Public methodStatic memberScreenRaycast(Camera, RaycastHit, Int32)
Cast a ray from the mouse position.
Public methodStatic memberScreenRaycast(Camera, Vector2, RaycastHit, Int32)
Cast a ray from a certain point on the screen.
Public methodStatic memberScreenRaycast2D(Camera, Int32)
Cast a 2D ray from the mouse position.
Public methodStatic memberScreenRaycast2D(Camera, Vector2, Int32)
Cast a 2D ray from a certain point on the screen.
Public methodStatic memberScreenRaycastAtPlane(Camera, Plane)
Cast a ray from the mouse position towards a plane.
Public methodStatic memberScreenRaycastAtPlane(Camera, Vector3, Plane)
Cast a ray from a certain point on the screen towards a plane.
Top
See Also

Reference