class MAGES::CharacterController::HeadController::EyePreset¶
Overview¶
The EyePreset states. More…
class EyePreset
{
public:
// properties
string EyePresetName;
float BlinkBlendShapeValue;
Quaternion LeftEyeRotation;
Quaternion RightEyeRotation;
bool IsSaved;
// methods
void SavePreset(
float blinkBlendShapeValue,
Transform lefteye,
Transform rightEye
);
};
Detailed Documentation¶
The EyePreset states.
Properties¶
string EyePresetName
Gets or sets the Eye Preset name.
float BlinkBlendShapeValue
Gets or sets the Blink blend shape value.
Quaternion LeftEyeRotation
Gets or sets the Left eye quaternion.
Quaternion RightEyeRotation
Gets or sets the Right eye quaternion.
bool IsSaved
Gets a value indicating whether the eye state is saved or not.
Methods¶
void SavePreset(
float blinkBlendShapeValue,
Transform lefteye,
Transform rightEye
)
The function that saves the preset.
Parameters:
blinkBlendShapeValue |
The blink blend shape value. |
lefteye |
The Left eye transform. |
rightEye |
The right eye transform. |