ORK Framework  2.27.1
API Documentation
ORKFramework.RaycastUseSettings Class Reference
Inheritance diagram for ORKFramework.RaycastUseSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

Vector3 ScreenRayPoint (Vector3 point, Camera camera)
Vector3 GetMousePosition ()
Ray GetRay (GameObject user, Camera camera)
bool Raycast (GameObject user, Camera camera, out RaycastOutput hit)
List< RaycastOutputRaycastAll (GameObject user, Camera camera)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

float distance = 100.0f
LayerMask layerMask = -1
TargetRayOrigin rayOrigin = TargetRayOrigin.User
bool useMousePosition = false
Vector3 originOffset = Vector3.zero
bool ignoreUser = false
Vector3 rayDirection = Vector3.forward