CurveKey

class CurveKey : System.Object, System.IEquatable<CurveKey>, System.IComparable<CurveKey>

Key point on the T:Microsoft.Xna.Framework.Curve.

CurveContinuity Continuity

Gets or sets the indicator whether the segment between this point and the next point on the curve is discrete or continuous.

readonly float Position

Gets a position of the key on the curve.

float TangentIn

Gets or sets a tangent when approaching this point from the previous point on the curve.

float TangentOut

Gets or sets a tangent when leaving this point to the next point on the curve.

float Value

Gets a value of this point.

public bool op_Inequality(CurveKey value1, CurveKey value2)

Compares whether two T:Microsoft.Xna.Framework.CurveKey instances are not equal.

Parameters:
  • value1 (Microsoft.Xna.Framework.CurveKey) – T:Microsoft.Xna.Framework.CurveKey instance on the left of the not equal sign.
  • value2 (Microsoft.Xna.Framework.CurveKey) – T:Microsoft.Xna.Framework.CurveKey instance on the right of the not equal sign.
Returns:

true if the instances are not equal; false otherwise.

public bool op_Equality(CurveKey value1, CurveKey value2)

Compares whether two T:Microsoft.Xna.Framework.CurveKey instances are equal.

Parameters:
  • value1 (Microsoft.Xna.Framework.CurveKey) – T:Microsoft.Xna.Framework.CurveKey instance on the left of the equal sign.
  • value2 (Microsoft.Xna.Framework.CurveKey) – T:Microsoft.Xna.Framework.CurveKey instance on the right of the equal sign.
Returns:

true if the instances are equal; false otherwise.

public CurveKey Clone()

Creates a copy of this key.

Returns:A copy of this key.
public int CompareTo(CurveKey other)
Parameters:
  • other (Microsoft.Xna.Framework.CurveKey) –
public bool Equals(CurveKey other)
Parameters:
  • other (Microsoft.Xna.Framework.CurveKey) –
public bool Equals(System.Object obj)
Parameters:
  • obj (System.Object) –
public int GetHashCode()