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

ClippedCylinderSurface Class

Used to manually clip a <cref="CylinderSurface" /> to the desired size.

Properties

List< ICylinderClipper > Clippers[Get]

Fields

Transform Transform[Get]
ISurface BackingSurface[Get]
Cylinder Cylinder[Get]

Member Functions

IReadOnlyList< ICylinderClipper > GetClippers ( )
bool Raycast
( in Ray ray,
out SurfaceHit hit,
float maxDistance )
bool GetClipped
( out CylinderSegment clipped )
bool ClosestSurfacePoint
( in Vector3 point,
out SurfaceHit hit,
float maxDistance )
void InjectAllClippedCylinderSurface
( CylinderSurface surface,
IEnumerable< ICylinderClipper > clippers )
void InjectCylinderSurface
( CylinderSurface surface )
void InjectClippers
( IEnumerable< ICylinderClipper > clippers )

Protected Functions

virtual void Awake ( )
virtual void Start ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon