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; } Describes whether the segment between this point and the next point in the curve is discrete or continuous.
float Position { get; } Position of the CurveKey in the curve.
float TangentIn { get; set; } Describes the tangent when approaching this point from the previous point in the curve.
float TangentOut { get; set; } Describes the tangent when leaving this point to the next point in the curve.
float Value { get; set; } Describes the value of this point.

Constructors

Member Description
CurveKey()
CurveKey(float, float)
CurveKey(float, float, float, float)
CurveKey(float, float, float, float, CurveContinuity)

Methods

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

Clone this wiki locally