Package com.ardor3d.extension.animation.skeletal.clip

Examples of com.ardor3d.extension.animation.skeletal.clip.TriggerData


                    final JointData jointData = (JointData) value;
                    if (jointData.getJointIndex() >= 0) {
                        jointData.applyTo(applyToPose.getLocalJointTransforms()[jointData.getJointIndex()]);
                    }
                } else if (value instanceof TriggerData) {
                    final TriggerData trigger = (TriggerData) value;
                    if (trigger.isArmed()) {
                        try {
                            // pull callback(s) for the current trigger key, if exists, and call.
                            for (final String curTrig : trigger.getCurrentTriggers()) {
                                for (final TriggerCallback cb : _triggerCallbacks.get(curTrig)) {
                                    cb.doTrigger(applyToPose, manager);
                                }
                            }
                        } finally {
                            trigger.setArmed(false);
                        }
                    }
                }
            }
View Full Code Here

TOP

Related Classes of com.ardor3d.extension.animation.skeletal.clip.TriggerData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.