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

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


                rVal.put(key, dataA);
                continue;
            }

            // Grab the transform data for each clip
            final TransformData transformA = (TransformData) dataA;
            final TransformData transformB = (TransformData) dataB;
            if (transformB != null) {
                rVal.put(key, transformA.blend(transformB, blendWeight, (TransformData) rVal.get(key)));
            } else {
                rVal.put(key, transformA);
            }
View Full Code Here


        if (data != null) {
            for (final String key : data.keySet()) {
                final Object value = data.get(key);
                if (value instanceof JointData) { // ignore
                } else if (value instanceof TransformData) {
                    final TransformData transformData = (TransformData) value;
                    final Spatial applyTo = findChild(root, key);
                    if (applyTo != null) {
                        transformData.applyTo(applyTo);
                    }
                }
            }
        }
    }
View Full Code Here

TOP

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

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.