Skip to main content

CharacterEye.RotationLimit

A private class in Root.Township, Alta.Character. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Inspector settings that CharacterEye.Bake copies onto the RotationLimitSpline it adds to the eye bone.

Constructors​

MemberWhat it is
RotationLimit()Creates a CharacterEye.RotationLimit with default values.

Fields​

MemberWhat it is
Vector3 axisMain axis of the limit (forward by default).
Quaternion defaultLocalRotationThe eye's rest rotation that the limit is measured from.
AnimationCurve splineCurve that shapes the limit around the axis.
float twistLimitTwist limit in degrees (180 by default, which is no limit).

Used in​

Members of other types that take, return or hold a RotationLimit: