s Base class for interactable objects with which the step manager interacts. It also stores a set of basic functions
More...
|
virtual void | ActivateSetCallback (Action callback) |
| Waiting for object activation.
|
|
virtual void | Active (bool state) |
|
virtual void | Awake () |
|
virtual void | CheckInspectionStatus () |
|
virtual void | Execute () |
| Used to indicate to the step manager that some actions were performed on the object.
|
|
virtual void | GenerateBreakdown (int percentBroke) |
| Generate a breakdown on the object with a certain probability.
|
|
virtual void | HideModel () |
| Disable parts of some object childs models. Useful for configuring object breakdowns.
|
|
virtual void | Highlight (bool state) |
| Highlight an object.
|
|
virtual void | Interactive (bool state) |
|
virtual void | OnTimerExpired () |
|
virtual void | OpenInspectionMenu (string quizId) |
| Enable inpection menu UI.
|
|
virtual void | PlayForwardAnimation (bool playForward, Action callback) |
| Used to play an animation and wait for it to finish.
|
|
virtual void | PrepareInspectionReport (List< InteractableClass > interactables) |
|
virtual void | RepairElement () |
| Remove from the broken state object.
|
|
virtual void | SetDefaultState () |
| Restoring the original state of an object after any actions with it.
|
|
virtual void | SetInspected () |
|
virtual void | SetParametersForItem (string value, string[] additionalValues) |
|
void | SetTimer (float timer) |
| Loops and infinitely runs a method after some time in seconds.
|
|
virtual void | ShowModel () |
| Enable parts of some object childs models. Useful for configuring object breakdowns.
|
|
void | StopTimer () |
| Stop loops and infinitely runs a method.
|
|
virtual void | TurnOffWaitForSelection () |
| Disable waiting for object highlighting with a pointer or hand approach. Mainly used in eval fashion.
|
|
virtual void | TurnOnOffState (bool turnOn) |
|
virtual void | WaitForSelection () |
| Highlight the object with a pointer or hand approach. Mainly used in evaluation mode.
|
|
s Base class for interactable objects with which the step manager interacts. It also stores a set of basic functions
Definition at line 17 of file InteractableClass.cs.
◆ ActivateSetCallback()
virtual void PixoVR.Event.InteractableClass.ActivateSetCallback |
( |
Action | callback | ) |
|
|
inlinevirtual |
◆ Active()
virtual void PixoVR.Event.InteractableClass.Active |
( |
bool | state | ) |
|
|
inlinevirtual |
◆ Awake()
virtual void PixoVR.Event.InteractableClass.Awake |
( |
| ) |
|
|
inlinevirtual |
◆ CheckInspectionStatus()
virtual void PixoVR.Event.InteractableClass.CheckInspectionStatus |
( |
| ) |
|
|
inlinevirtual |
◆ Execute()
virtual void PixoVR.Event.InteractableClass.Execute |
( |
| ) |
|
|
inlinevirtual |
◆ GenerateBreakdown()
virtual void PixoVR.Event.InteractableClass.GenerateBreakdown |
( |
int | percentBroke | ) |
|
|
inlinevirtual |
◆ HideModel()
virtual void PixoVR.Event.InteractableClass.HideModel |
( |
| ) |
|
|
inlinevirtual |
Disable parts of some object childs models. Useful for configuring object breakdowns.
Definition at line 216 of file InteractableClass.cs.
◆ Highlight()
virtual void PixoVR.Event.InteractableClass.Highlight |
( |
bool | state | ) |
|
|
inlinevirtual |
◆ Interactive()
virtual void PixoVR.Event.InteractableClass.Interactive |
( |
bool | state | ) |
|
|
inlinevirtual |
◆ OnStartTargeting()
void PixoVR.Event.InteractableClass.OnStartTargeting |
( |
Hand | hand, |
|
|
Grabbable | grabbable ) |
|
inlineprivate |
◆ OnStopTargeting()
void PixoVR.Event.InteractableClass.OnStopTargeting |
( |
Hand | hand, |
|
|
Grabbable | grabbable ) |
|
inlineprivate |
◆ OnTimerExpired()
virtual void PixoVR.Event.InteractableClass.OnTimerExpired |
( |
| ) |
|
|
inlinevirtual |
◆ OpenInspectionMenu()
virtual void PixoVR.Event.InteractableClass.OpenInspectionMenu |
( |
string | quizId | ) |
|
|
inlinevirtual |
◆ PlayForwardAnimation()
virtual void PixoVR.Event.InteractableClass.PlayForwardAnimation |
( |
bool | playForward, |
|
|
Action | callback ) |
|
inlinevirtual |
Used to play an animation and wait for it to finish.
- Parameters
-
Definition at line 259 of file InteractableClass.cs.
◆ PrepareInspectionReport()
virtual void PixoVR.Event.InteractableClass.PrepareInspectionReport |
( |
List< InteractableClass > | interactables | ) |
|
|
inlinevirtual |
◆ RepairElement()
virtual void PixoVR.Event.InteractableClass.RepairElement |
( |
| ) |
|
|
inlinevirtual |
◆ SetDefaultState()
virtual void PixoVR.Event.InteractableClass.SetDefaultState |
( |
| ) |
|
|
inlinevirtual |
Restoring the original state of an object after any actions with it.
Definition at line 241 of file InteractableClass.cs.
◆ SetGrabEnabled()
void PixoVR.Event.InteractableClass.SetGrabEnabled |
( |
bool | isEnabled | ) |
|
|
inlineprotected |
◆ SetInspected()
virtual void PixoVR.Event.InteractableClass.SetInspected |
( |
| ) |
|
|
inlinevirtual |
◆ SetParametersForItem()
virtual void PixoVR.Event.InteractableClass.SetParametersForItem |
( |
string | value, |
|
|
string[] | additionalValues ) |
|
inlinevirtual |
◆ SetTimer()
void PixoVR.Event.InteractableClass.SetTimer |
( |
float | timer | ) |
|
|
inline |
Loops and infinitely runs a method after some time in seconds.
- Parameters
-
Definition at line 345 of file InteractableClass.cs.
◆ ShowModel()
virtual void PixoVR.Event.InteractableClass.ShowModel |
( |
| ) |
|
|
inlinevirtual |
Enable parts of some object childs models. Useful for configuring object breakdowns.
some
Definition at line 200 of file InteractableClass.cs.
◆ ShowModels()
void PixoVR.Event.InteractableClass.ShowModels |
( |
| ) |
|
|
inlineprotected |
◆ StartTimer()
IEnumerator PixoVR.Event.InteractableClass.StartTimer |
( |
float | timer | ) |
|
|
inlineprivate |
◆ StopTimer()
void PixoVR.Event.InteractableClass.StopTimer |
( |
| ) |
|
|
inline |
◆ TurnOffWaitForSelection()
virtual void PixoVR.Event.InteractableClass.TurnOffWaitForSelection |
( |
| ) |
|
|
inlinevirtual |
Disable waiting for object highlighting with a pointer or hand approach. Mainly used in eval fashion.
Definition at line 154 of file InteractableClass.cs.
◆ TurnOnOffState()
virtual void PixoVR.Event.InteractableClass.TurnOnOffState |
( |
bool | turnOn | ) |
|
|
inlinevirtual |
◆ WaitForSelection()
virtual void PixoVR.Event.InteractableClass.WaitForSelection |
( |
| ) |
|
|
inlinevirtual |
Highlight the object with a pointer or hand approach. Mainly used in evaluation mode.
Definition at line 126 of file InteractableClass.cs.
◆ _additionalOutlines
Outline [] PixoVR.Event.InteractableClass._additionalOutlines |
|
privateSerializeField |
◆ _distanceGrabbable
DistanceGrabbable PixoVR.Event.InteractableClass._distanceGrabbable |
|
protectedSerializeField |
◆ _grabbables
Grabbable [] PixoVR.Event.InteractableClass._grabbables |
|
protected |
◆ _outline
Outline PixoVR.Event.InteractableClass._outline |
|
privateSerializeField |
◆ _timerCoroutine
Coroutine PixoVR.Event.InteractableClass._timerCoroutine |
|
private |
◆ _waitingForSelection
bool PixoVR.Event.InteractableClass._waitingForSelection |
|
private |
◆ BrokenId
int PixoVR.Event.InteractableClass.BrokenId = 0 |
◆ brokenModels
GameObject [] PixoVR.Event.InteractableClass.brokenModels |
|
protectedSerializeField |
◆ correctModels
GameObject [] PixoVR.Event.InteractableClass.correctModels |
|
protectedSerializeField |
◆ IsActive
bool PixoVR.Event.InteractableClass.IsActive |
◆ IsBroken
bool PixoVR.Event.InteractableClass.IsBroken |
◆ isInspected
bool PixoVR.Event.InteractableClass.isInspected = false |
◆ ItemId
ItemsEnum PixoVR.Event.InteractableClass.ItemId |
◆ MaxValue
const int PixoVR.Event.InteractableClass.MaxValue = 100 |
|
staticprivate |
◆ MinValue
const int PixoVR.Event.InteractableClass.MinValue = 1 |
|
staticprivate |
◆ StepsId
ItemsEnum [] PixoVR.Event.InteractableClass.StepsId |
The documentation for this class was generated from the following file: