C# Class GrabbableObject, OCDEscape

Inheritance: MonoBehaviour
Afficher le fichier Open project: gadauto3/OCDEscape Class Usage Examples

Méthodes publiques

Свойство Type Description
freeDrag float
grabSpeed float
grabbedDrag float
grabbedInteractTag string
springDamping float
springStrength float

Protected Properties

Свойство Type Description
anchor Transform
anchorBody UnityEngine.Rigidbody
beforeMovePosition Vector3
gazeAnchor Transform
grabbed bool
lastParent Transform
lastPosition Vector3
lastRotation Quaternion
moveToAnchor bool
moveToLastPosition bool
myJoint UnityEngine.ConfigurableJoint
myRigidbody UnityEngine.Rigidbody
pointer GazePointer,

Méthodes publiques

Méthode Description
OffInteract ( GazePointer, pointer, Transform objectToInteractWith ) : bool
OnGrabbedHighlight ( Transform highlightedObject ) : bool
OnInteract ( GazePointer, pointer ) : bool

Méthodes protégées

Méthode Description
Awake ( ) : void
CreateAnchor ( ) : void
CreateJoint ( ) : void
FreeJoint ( ) : void
GetMoveToAnchorOffsetPosition ( ) : Vector3
GetMoveToNotGrabbedOffsetPosition ( ) : Vector3
GetMoveToNotGrabbedPosition ( ) : Vector3
GetMoveToNotGrabbedRotation ( ) : Quaternion
LimitJoint ( ) : void
MoveToAnchorPosition ( ) : IEnumerator
MoveToNotGrabbedPosition ( ) : IEnumerator
OnObjectPutBack ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CreateAnchor() protected méthode

protected CreateAnchor ( ) : void
Résultat void

CreateJoint() protected méthode

protected CreateJoint ( ) : void
Résultat void

FreeJoint() protected méthode

protected FreeJoint ( ) : void
Résultat void

GetMoveToAnchorOffsetPosition() protected méthode

protected GetMoveToAnchorOffsetPosition ( ) : Vector3
Résultat Vector3

GetMoveToNotGrabbedOffsetPosition() protected méthode

protected GetMoveToNotGrabbedOffsetPosition ( ) : Vector3
Résultat Vector3

GetMoveToNotGrabbedPosition() protected méthode

protected GetMoveToNotGrabbedPosition ( ) : Vector3
Résultat Vector3

GetMoveToNotGrabbedRotation() protected méthode

protected GetMoveToNotGrabbedRotation ( ) : Quaternion
Résultat Quaternion

LimitJoint() protected méthode

protected LimitJoint ( ) : void
Résultat void

MoveToAnchorPosition() protected méthode

protected MoveToAnchorPosition ( ) : IEnumerator
Résultat IEnumerator

MoveToNotGrabbedPosition() protected méthode

protected MoveToNotGrabbedPosition ( ) : IEnumerator
Résultat IEnumerator

OffInteract() public méthode

public OffInteract ( GazePointer, pointer, Transform objectToInteractWith ) : bool
pointer GazePointer,
objectToInteractWith Transform
Résultat bool

OnGrabbedHighlight() public méthode

public OnGrabbedHighlight ( Transform highlightedObject ) : bool
highlightedObject Transform
Résultat bool

OnInteract() public méthode

public OnInteract ( GazePointer, pointer ) : bool
pointer GazePointer,
Résultat bool

OnObjectPutBack() protected méthode

protected OnObjectPutBack ( ) : void
Résultat void

Property Details

anchor protected_oe property

protected Transform anchor
Résultat Transform

anchorBody protected_oe property

protected Rigidbody,UnityEngine anchorBody
Résultat UnityEngine.Rigidbody

beforeMovePosition protected_oe property

protected Vector3 beforeMovePosition
Résultat Vector3

freeDrag public_oe property

public float freeDrag
Résultat float

gazeAnchor protected_oe property

protected Transform gazeAnchor
Résultat Transform

grabSpeed public_oe property

public float grabSpeed
Résultat float

grabbed protected_oe property

protected bool grabbed
Résultat bool

grabbedDrag public_oe property

public float grabbedDrag
Résultat float

grabbedInteractTag public_oe property

public string grabbedInteractTag
Résultat string

lastParent protected_oe property

protected Transform lastParent
Résultat Transform

lastPosition protected_oe property

protected Vector3 lastPosition
Résultat Vector3

lastRotation protected_oe property

protected Quaternion lastRotation
Résultat Quaternion

moveToAnchor protected_oe property

protected bool moveToAnchor
Résultat bool

moveToLastPosition protected_oe property

protected bool moveToLastPosition
Résultat bool

myJoint protected_oe property

protected ConfigurableJoint,UnityEngine myJoint
Résultat UnityEngine.ConfigurableJoint

myRigidbody protected_oe property

protected Rigidbody,UnityEngine myRigidbody
Résultat UnityEngine.Rigidbody

pointer protected_oe property

protected GazePointer, pointer
Résultat GazePointer,

springDamping public_oe property

public float springDamping
Résultat float

springStrength public_oe property

public float springStrength
Résultat float