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

VRageMath.CurveKey

Morten Aune Lyrstad edited this page Apr 16, 2022 · 49 revisions

IndexNamespace Index

CurveKey Class

public class CurveKey: IEquatable<CurveKey>, IComparable<CurveKey>

Represents a point in a multi-point curve.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Properties

Member Description
[CurveContinuity Continuity { get; set; }](VRageMath.CurveKey.Continuity) Describes whether the segment between this point and the next point in the curve is discrete or continuous.
[float Position { get; }](VRageMath.CurveKey.Position) Position of the CurveKey in the curve.
[float TangentIn { get; set; }](VRageMath.CurveKey.TangentIn) Describes the tangent when approaching this point from the previous point in the curve.
[float TangentOut { get; set; }](VRageMath.CurveKey.TangentOut) Describes the tangent when leaving this point to the next point in the curve.
[float Value { get; set; }](VRageMath.CurveKey.Value) Describes the value of this point.

Constructors

Member Description
[CurveKey()](VRageMath.CurveKey..ctor)
[CurveKey(float, float)](VRageMath.CurveKey..ctor)
[CurveKey(float, float, float, float)](VRageMath.CurveKey..ctor)
[CurveKey(float, float, float, float, CurveContinuity)](VRageMath.CurveKey..ctor)

Methods

Member Description
[CurveKey Clone()](VRageMath.CurveKey.Clone) Creates a copy of the CurveKey.
[int CompareTo(CurveKey)](VRageMath.CurveKey.CompareTo) Compares this instance to another CurveKey and returns an indication of their relative values.
[bool Equals(CurveKey)](VRageMath.CurveKey.Equals) Determines whether the specified Object is equal to the CurveKey.
[bool Equals(object)](VRageMath.CurveKey.Equals) Returns a value that indicates whether the current instance is equal to a specified object.
[int GetHashCode()](VRageMath.CurveKey.GetHashCode) Returns the hash code for this instance.

Clone this wiki locally