Class BoundsExtensions
- Namespace
- VoxelPlayground.Misc
- Assembly
- GamePlay.dll
public static class BoundsExtensions
- Inheritance
-
object
BoundsExtensions
Methods
IntersectsCapsule(Bounds, Vector3, Vector3, float)
public static bool IntersectsCapsule(this Bounds bounds, Vector3 startPos, Vector3 endPos, float radius)
Parameters
bounds Bounds
startPos Vector3
endPos Vector3
radius float
Returns
- bool
IntersectsQuad(Bounds, Vector3, Vector3, Vector3)
public static bool IntersectsQuad(this Bounds bounds, Vector3 startPos, Vector3 endPos, Vector3 direction)
Parameters
bounds Bounds
startPos Vector3
endPos Vector3
direction Vector3
Returns
- bool