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

CylinderSurface Class

Oculus::Interaction::Surfaces::CylinderSurface extends MonoBehaviour.
Oculus::Interaction::Surfaces::CylinderSurface extends Oculus.Interaction.Surfaces.ISurface.
Oculus::Interaction::Surfaces::CylinderSurface extends Oculus.Interaction.Surfaces.IBounds.

Overview

Public Types

Properties

bool
IsValid[Get]
float
Radius[Get]
Transform
A transform for the surface.
Bounds
Bounds[Get]
The world space axis-aligned bounding box (AABB)
Facing[Get]
float
Height[Get]

Object Data

bool

Object Data

void
Start ( )

Public Member Functions

bool
ClosestSurfacePoint
( in Vector3 point,
out SurfaceHit hit,
float maxDistance )
Find nearest point to surface.
bool
Raycast
( in Ray ray,
out SurfaceHit hit,
float maxDistance )
Raycast to the surface with an optional maximum distance value.
void
InjectAllCylinderSurface
( NormalFacing facing,
Cylinder cylinder,
float height )
void
void
InjectCylinder
( Cylinder cylinder )
void
InjectHeight
( float height )

Details

Member Enumerations

enum Oculus::Interaction::Surfaces::CylinderSurface.NormalFacing
Enumerator
Any
Raycast hit will register on the outside or inside of the cylinder, whichever is hit first.
In
Raycasts will pass through the outside of the cylinder and hit the inside wall.
Out
Raycast against the outside wall of the cylinder.

Properties

bool Oculus.Interaction.Surfaces.CylinderSurface.IsValid
No description available.
float Oculus.Interaction.Surfaces.CylinderSurface.Radius
No description available.
Cylinder Oculus.Interaction.Surfaces.CylinderSurface.Cylinder
No description available.
Transform Oculus.Interaction.Surfaces.CylinderSurface.Transform
A transform for the surface.
Bounds Oculus.Interaction.Surfaces.CylinderSurface.Bounds
The world space axis-aligned bounding box (AABB)
NormalFacing Oculus.Interaction.Surfaces.CylinderSurface.Facing
No description available.
float Oculus.Interaction.Surfaces.CylinderSurface.Height
No description available.

Object Data

bool Oculus.Interaction.Surfaces.CylinderSurface._started
No description available.

Object Data

virtual void Oculus.Interaction.Surfaces.CylinderSurface.Start ( )
No description available.

Member Functions

bool Oculus.Interaction.Surfaces.CylinderSurface.ClosestSurfacePoint
( in Vector3 point,
out SurfaceHit hit,
float maxDistance )
Find nearest point to surface.
Parameters
ray
Point to check
hit
The returned hit data
maxDistance
If greater than zero, maximum distance of check
Returns
true if nearest point was found
bool Oculus.Interaction.Surfaces.CylinderSurface.Raycast
( in Ray ray,
out SurfaceHit hit,
float maxDistance )
Raycast to the surface with an optional maximum distance value.
Parameters
ray
The ray to cast
hit
The returned hit data
maxDistance
If greater than zero, maximum distance of raycast
Returns
true if surface was hit
void Oculus.Interaction.Surfaces.CylinderSurface.InjectAllCylinderSurface
( NormalFacing facing,
Cylinder cylinder,
float height )
No description available.
void Oculus.Interaction.Surfaces.CylinderSurface.InjectNormalFacing
( NormalFacing facing )
No description available.
void Oculus.Interaction.Surfaces.CylinderSurface.InjectCylinder
( Cylinder cylinder )
No description available.
void Oculus.Interaction.Surfaces.CylinderSurface.InjectHeight
( float height )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon