Class TriggerChannel

java.lang.Object
com.ardor3d.extension.animation.skeletal.clip.AbstractAnimationChannel
com.ardor3d.extension.animation.skeletal.clip.TriggerChannel
All Implemented Interfaces:
Savable
Direct Known Subclasses:
GuaranteedTriggerChannel

public class TriggerChannel extends AbstractAnimationChannel
An animation source channel consisting of keyword samples indicating when a specific trigger condition is met. Each channel can only be in one keyword "state" at a given moment in time.
  • Field Details

    • _keys

      protected final String[] _keys
      Our key samples.
  • Constructor Details

    • TriggerChannel

      public TriggerChannel(String channelName, float[] times, String[] keys)
      Construct a new TriggerChannel.
      Parameters:
      channelName - the name of this channel.
      times - the time samples
      keys - our key samples. Entries may be null. Should have as many entries as the times array.
    • TriggerChannel

      protected TriggerChannel()
  • Method Details