API reference
API reference
Select your platform
No SDKs available
No versions available

TeleportArcGravity Class

This is a parabolic shot.
Oculus::Interaction::Locomotion::TeleportArcGravity extends MonoBehaviour.
Oculus::Interaction::Locomotion::TeleportArcGravity extends Oculus.Interaction.IPolyline.

Overview

Properties

AnimationCurve
AnimationCurve
AnimationCurve
float
int
Max number of points that define the polyline.

Object Data

bool

Object Data

void
Start ( )
void
Update ( )

Public Member Functions

Vector3
PointAtIndex
( int index )
Calculates the position N vertex of the polyline.
void
InjectAllTeleportArcGravity
( Transform origin,
Transform stabilizationPoint )
void
InjectOrigin
( Transform origin )
void
InjectStabilizationPoint
( Transform stabilizationPoint )

Details

Detailed Description

Gravity and speed are used to calculate the points along the arc. It also contains a series of modifiers in order to adjust the origin of the arc to adapt better in different situations such as when pointing at your feet, far away or up high

Properties

AnimationCurve Oculus.Interaction.Locomotion.TeleportArcGravity.RangeCurve
No description available.
AnimationCurve Oculus.Interaction.Locomotion.TeleportArcGravity.StabilizationMixCurve
No description available.
AnimationCurve Oculus.Interaction.Locomotion.TeleportArcGravity.PitchCurve
No description available.
float Oculus.Interaction.Locomotion.TeleportArcGravity.GravityModifier
No description available.
int Oculus.Interaction.Locomotion.TeleportArcGravity.PointsCount
Max number of points that define the polyline.

Object Data

bool Oculus.Interaction.Locomotion.TeleportArcGravity._started
No description available.

Object Data

virtual void Oculus.Interaction.Locomotion.TeleportArcGravity.Start ( )
No description available.
virtual void Oculus.Interaction.Locomotion.TeleportArcGravity.Update ( )
No description available.

Member Functions

Vector3 Oculus.Interaction.Locomotion.TeleportArcGravity.PointAtIndex
( int index )
Calculates the position N vertex of the polyline.
Parameters
index
The N vertex of the polyline been queried.
Returns
The position of the polyline at the index-th point
void Oculus.Interaction.Locomotion.TeleportArcGravity.InjectAllTeleportArcGravity
( Transform origin,
Transform stabilizationPoint )
No description available.
void Oculus.Interaction.Locomotion.TeleportArcGravity.InjectOrigin
( Transform origin )
No description available.
void Oculus.Interaction.Locomotion.TeleportArcGravity.InjectStabilizationPoint
( Transform stabilizationPoint )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon