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 Nov 2, 2020 · 49 revisions

IndexNamespace Index

CurveKey Class

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

Represents a point in a multi-point curve.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Properties

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

Constructors

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

Methods

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

Clone this wiki locally