siFCurveKeyConstraint Enum


Enumerations

enum   siFCurveKeyConstraint {
  siParameterConstraint = 1,
  siLeftRightValuesConstraint = 2,
  siG1ContinuousConstraint = 4,
  siLeftRightTangentDirectionConstraint = 8,
  siLeftRightTangentLengthConstraint = 16,
  siLockConstraint = 32,
  siHorizontalTangentConstraint = 64,
  siExtremumHorizontalTangentConstraint = 128,
  siAdjustedTangentConstraint = 256,
  siZeroLengthTangentConstraint = 512,
  siSameLengthTangentConstraint = 1024,
  siNeighborTangentConstraint = 2048,
  siMirrorTangentConstraint = 4096
}

Detailed Description

Function curve key constraints. The last seven tangent constraints apply only to standard function curves. FCurve key constraints can be set and retrieved via the FCurveKey.Constraint property.

The constraints are not mutally exclusive for example if you have the siParameterConstraint set and clear the siLockConstraint you will also clear the siParameterConstraint. You cannot set constraints on a raw function curve. They will be ignored.
See also:
FCurveKey.Constraint, FCurveKey::GetConstraint2, FCurveKey::GetConstraint, FCurveKey::PutConstraint

FCurve::SI3DStyle


Enumeration Type Documentation

enum siFCurveKeyConstraint

Enumerator:
siParameterConstraint  [1] If on, the parameter (or key time) is locked.
siLeftRightValuesConstraint  [2] If on, the left and right key values are locked.
siG1ContinuousConstraint  [4] If on, the left and right tangent orientations are the same.
siLeftRightTangentDirectionConstraint  [8] If on, the left and right tangent directions are locked.
siLeftRightTangentLengthConstraint  [16] If on, the left and right tangent lengths are locked.
siLockConstraint  [32] If on, the parameter, values, and tangents are locked.
siHorizontalTangentConstraint  [64] If on, the tangents are considered horizontal.
siExtremumHorizontalTangentConstraint  [128] If on, the tangents are considered as horizontal when the key is a local extremum.
siAdjustedTangentConstraint  [256] If on, the tangents are adjusted automatically when neighbouring keys are created or moved.
siZeroLengthTangentConstraint  [512] If on, the left and right tangent lengths are constrained to be zero.
siSameLengthTangentConstraint  [1024] If on, the left and right tangent lengths are the same.
siNeighborTangentConstraint  [2048] If on, the left and right tangent point at the previous and next keys.
siMirrorTangentConstraint  [4096] If on, the left and right tangents are mirrored.