API reference

CylinderClipper Class

Extends MonoBehaviour
Clips a <cref="CylinderSurface" />.
Each clipper represents the parameters of a cylinder segment.

Properties

ArcDegrees : float
[Get][Set]
Signature
float Oculus.Interaction.Surfaces.CylinderClipper.ArcDegrees
Bottom : float
[Get][Set]
Signature
float Oculus.Interaction.Surfaces.CylinderClipper.Bottom
Rotation : float
[Get][Set]
Signature
float Oculus.Interaction.Surfaces.CylinderClipper.Rotation
Top : float
[Get][Set]
Signature
float Oculus.Interaction.Surfaces.CylinderClipper.Top

Methods

GetCylinderSegment ( segment )
Attempts to retrieve the cylinder segment corresponding to the allowed region of the clipped surface.
Signature
bool Oculus.Interaction.Surfaces.CylinderClipper.GetCylinderSegment(out CylinderSegment segment)
Parameters
segment: out CylinderSegment  The cylinder segment to which the underlying ISurface should be clipped
Returns
bool  True if clipping should be performed, false otherwise