Class Capsule
Inheritance
System.Object
Capsule
Assembly: VRage.Math.dll
Syntax
public sealed class Capsule : ValueType
Constructors
Capsule(Vector3, Vector3, Single)
Declaration
public Capsule(Vector3 p0, Vector3 p1, float radius)
Parameters
Fields
P0
Declaration
Field Value
P1
Declaration
Field Value
Radius
Declaration
Field Value
Type |
Description |
System.Single |
|
Methods
Intersect(Line, ref Vector3, ref Vector3, ref Vector3, ref Vector3)
Declaration
public bool Intersect(Line line, ref Vector3 p1, ref Vector3 p2, ref Vector3 n1, ref Vector3 n2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Intersect(Ray, ref Vector3, ref Vector3, ref Vector3, ref Vector3)
Declaration
public bool Intersect(Ray ray, ref Vector3 p1, ref Vector3 p2, ref Vector3 n1, ref Vector3 n2)
Parameters
Returns
Type |
Description |
System.Boolean |
|