Class FT_FrameMouth
Contains a single texture for the mouth.
[CreateAssetMenu(fileName = "Mouth Frame", menuName = "Gasimo/Face Toons/Frames/Mouth")]
public class FT_FrameMouth : FT_FrameBase
- Inheritance
-
ObjectScriptableObjectFT_FrameMouth
- Derived
Fields
mouthOpen
The amount the mouth is open. 0 is closed, 1 is fully open. Can be used by MouthAnimators to manage shape-keys or bone-driven animations.
[Tooltip("The amount the mouth is open. 0 is closed, 1 is fully open. Can be used by MouthAnimators to manage shape-keys or bone-driven animations.")]
public float mouthOpen
Field Value
Methods
GetTextures()
Code to return the texture(s) of the frame. Some frames may have Editor-Only textures which are baked into the final array and may return null at runtime.
public override Texture2D[] GetTextures()
Returns
- Texture2D[]
Array of textures contained within this frame. Empty array if there are none.