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

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 )
Get the segment defining a portion of a cylinder surface.
Signature
bool Oculus.Interaction.Surfaces.CylinderClipper.GetCylinderSegment(out CylinderSegment segment)
Parameters
segment: out CylinderSegment  The segment defining the clip area of a cylinder
Returns
bool  True if clipping should be performed