Documentation

Page contents

Updated

Generate PDF from page.

Mesh Filter Animator Behavior

Files: CGFMeshFilterAnimatorBehavior.cs

Path: "CGF/Systems/Animation"

Description

Behavior that allows animating the mesh filter.

Reference

  • Automatic – Enables or disables the script functionality.
  • Cycles – Number of animation cycles.
  • Frames List – Animation frame list.
    • Add Position – Allows adding the position variable value to the object.
    • Duration – Mesh display duration.
    • Mesh – Runtime value used by this component to configure mesh.
    • Position – Runtime value used by this component to configure position.
  • Period – Period type enum instantiation.
    • Loop – Loop mode, when the rotation ends another starts in the same direction indefinitely.
    • Cycle – Cycle mode, performs as many rotations as cycles.
  • Ping Pong – Enables or disables ping-pong mode.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.