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

TubeRenderer Class

Creates and renders a tube mesh from a sequence of points.
Oculus::Interaction::TubeRenderer extends MonoBehaviour.

Overview

Properties

int
Vector2
float
Radius[Get]
Gradient
Color
Tint[Get]
float
float
float
bool
float
Feather[Get]
bool
float
float

Object Data

void
Reset ( )
void
void

Public Member Functions

void
RenderTube
( TubePoint[] points,
Space space )
Updates the mesh data for the tube with the specified points.
void
Hide ( )
Hides the renderer of the tube.
void
Resubmits the fading thresholds data to the material without re-generating the mesh.
void
InjectAllTubeRenderer
( MeshFilter filter,
MeshRenderer renderer,
int divisions,
int bevel )
void
InjectFilter
( MeshFilter filter )
void
InjectRenderer
( MeshRenderer renderer )
void
InjectDivisions
( int divisions )
void
InjectBevel
( int bevel )

Details

Properties

int Oculus.Interaction.TubeRenderer.RenderQueue
No description available.
Vector2 Oculus.Interaction.TubeRenderer.RenderOffset
No description available.
float Oculus.Interaction.TubeRenderer.Radius
No description available.
Gradient Oculus.Interaction.TubeRenderer.Gradient
No description available.
Color Oculus.Interaction.TubeRenderer.Tint
No description available.
float Oculus.Interaction.TubeRenderer.ProgressFade
No description available.
float Oculus.Interaction.TubeRenderer.StartFadeThresold
No description available.
float Oculus.Interaction.TubeRenderer.EndFadeThresold
No description available.
bool Oculus.Interaction.TubeRenderer.InvertThreshold
No description available.
float Oculus.Interaction.TubeRenderer.Feather
No description available.
bool Oculus.Interaction.TubeRenderer.MirrorTexture
No description available.
float Oculus.Interaction.TubeRenderer.Progress
No description available.
float Oculus.Interaction.TubeRenderer.TotalLength
No description available.

Object Data

virtual void Oculus.Interaction.TubeRenderer.Reset ( )
No description available.
virtual void Oculus.Interaction.TubeRenderer.OnEnable ( )
No description available.
virtual void Oculus.Interaction.TubeRenderer.OnDisable ( )
No description available.

Member Functions

void Oculus.Interaction.TubeRenderer.RenderTube
( TubePoint[] points,
Space space )
Updates the mesh data for the tube with the specified points.
Parameters
points
The points that the tube must follow
space
Indicates if the points are specified in local space or world space
void Oculus.Interaction.TubeRenderer.Hide ( )
Hides the renderer of the tube.
void Oculus.Interaction.TubeRenderer.RedrawFadeThresholds ( )
Resubmits the fading thresholds data to the material without re-generating the mesh.
void Oculus.Interaction.TubeRenderer.InjectAllTubeRenderer
( MeshFilter filter,
MeshRenderer renderer,
int divisions,
int bevel )
No description available.
void Oculus.Interaction.TubeRenderer.InjectFilter
( MeshFilter filter )
No description available.
void Oculus.Interaction.TubeRenderer.InjectRenderer
( MeshRenderer renderer )
No description available.
void Oculus.Interaction.TubeRenderer.InjectDivisions
( int divisions )
No description available.
void Oculus.Interaction.TubeRenderer.InjectBevel
( int bevel )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon