Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Capsule

Malware edited this page Dec 13, 2025 · 40 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace Index

Capsule Struct

public struct Capsule

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Vector3 P0

Vector3 P1

float Radius

Constructors

Capsule(Vector3 p0, Vector3 p1, float radius)

Methods

bool Intersect(Ray ray, ref Vector3 p1, ref Vector3 p2, ref Vector3 n1, ref Vector3 n2)

bool Intersect(Line line, ref Vector3 p1, ref Vector3 p2, ref Vector3 n1, ref Vector3 n2)

Clone this wiki locally