Struct Capsule ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Shapes
Assembly: ValveResourceFormat.dll
Represents a capsule shape.
csharp
public struct CapsuleConstructors ​
Capsule(KVObject) ​
Initializes a new instance of the struct.
csharp
public Capsule(KVObject data)Parameters ​
data KVObject
Properties ​
Center ​
Gets or sets the center points of the capsule.
csharp
public Vector3[] Center { readonly get; set; }Property Value ​
Vector3[]
Radius ​
Gets or sets the radius of the capsule.
csharp
public float Radius { readonly get; set; }
