Controls the scaling of a transform
More...
Inherits MonoBehaviour.
Controls the scaling of a transform
◆ Rescale()
void C2M2.Interaction.GrabRescaler.Rescale |
( |
| ) |
|
◆ Start()
void C2M2.Interaction.GrabRescaler.Start |
( |
| ) |
|
|
private |
◆ Update()
void C2M2.Interaction.GrabRescaler.Update |
( |
| ) |
|
|
private |
◆ decKey
KeyCode C2M2.Interaction.GrabRescaler.decKey = KeyCode.DownArrow |
◆ grabbable
OVRGrabbable C2M2.Interaction.GrabRescaler.grabbable = null |
|
private |
◆ grabber
returns>A float between -1 and 1, where -1 means the thumbstick y axis is completely down and 1 implies it is all the way up
◆ incKey
KeyCode C2M2.Interaction.GrabRescaler.incKey = KeyCode.UpArrow |
◆ maxPercentage
float C2M2.Interaction.GrabRescaler.maxPercentage = 3f |
◆ maxScale
Vector3 C2M2.Interaction.GrabRescaler.maxScale |
|
private |
◆ minPercentage
float C2M2.Interaction.GrabRescaler.minPercentage = 0.5f |
◆ minScale
Vector3 C2M2.Interaction.GrabRescaler.minScale |
|
private |
◆ origScale
Vector3 C2M2.Interaction.GrabRescaler.origScale |
|
private |
◆ resetKey
KeyCode C2M2.Interaction.GrabRescaler.resetKey = KeyCode.R |
◆ scaler
float C2M2.Interaction.GrabRescaler.scaler = 0.2f |
◆ vrThumbstick
OVRInput.Button C2M2.Interaction.GrabRescaler.vrThumbstick = OVRInput.Button.PrimaryThumbstick |
◆ vrThumbstickS
OVRInput.Button C2M2.Interaction.GrabRescaler.vrThumbstickS = OVRInput.Button.SecondaryThumbstick |
◆ xScale
bool C2M2.Interaction.GrabRescaler.xScale = true |
◆ yScale
bool C2M2.Interaction.GrabRescaler.yScale = true |
◆ zScale
bool C2M2.Interaction.GrabRescaler.zScale = true |
◆ ThumbstickPressed
bool C2M2.Interaction.GrabRescaler.ThumbstickPressed |
|
getprivate |
◆ ThumbstickScaler
float C2M2.Interaction.GrabRescaler.ThumbstickScaler |
|
getprivate |
returns>A boolean of whether the joystick is pressed
The documentation for this class was generated from the following file:
- C:/Users/Jacob Wells/Desktop/C2M2/NeuroVISOR/Assets/Scripts/C2M2/Interaction/GrabRescaler.cs