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

RANSACVelocityCalculator Class

Extends MonoBehaviour

Properties

PoseInputDevice : IPoseInputDevice
[Get]
Signature
IPoseInputDevice Oculus.Interaction.Throw.RANSACVelocityCalculator.PoseInputDevice

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.Throw.RANSACVelocityCalculator.Awake()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.Throw.RANSACVelocityCalculator.Start()
Returns
void

Methods

CalculateThrowVelocity ( objectThrown )
Signature
ReleaseVelocityInformation Oculus.Interaction.Throw.RANSACVelocityCalculator.CalculateThrowVelocity(Transform objectThrown)
Parameters
objectThrown: Transform
InjectAllRANSACVelocityCalculator ( poseInputDevice )
Signature
void Oculus.Interaction.Throw.RANSACVelocityCalculator.InjectAllRANSACVelocityCalculator(IPoseInputDevice poseInputDevice)
Parameters
poseInputDevice: IPoseInputDevice
Returns
void
InjectPoseInputDevice ( poseInputDevice )
Signature
void Oculus.Interaction.Throw.RANSACVelocityCalculator.InjectPoseInputDevice(IPoseInputDevice poseInputDevice)
Parameters
poseInputDevice: IPoseInputDevice
Returns
void
SetTimeProvider ( timeProvider )
Sets a function that returns the current time in seconds.
Signature
void Oculus.Interaction.Throw.RANSACVelocityCalculator.SetTimeProvider(Func< float > timeProvider)
Parameters
timeProvider: Func< float >
Returns
void