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

Examples of com.ardor3d.extension.animation.skeletal.clip.AnimationClip.addChannel()


            }

            if (joint == null) {
                // no joint still, so make a transform channel.
                final TransformChannel transformChannel = new TransformChannel(nodeName, time, transforms);
                animationClip.addChannel(transformChannel);
                _colladaStorage.getAnimationChannels().add(transformChannel);
                return;
            }
        }
View Full Code Here


            }
        }

        // create joint channel
        final JointChannel jointChannel = new JointChannel(joint, time, transforms);
        animationClip.addChannel(jointChannel);
        _colladaStorage.getAnimationChannels().add(jointChannel);
    }

    /**
     * Stores animation data to use for merging into jointchannels.
View Full Code Here

     * @return the new AnimationClip.
     */
    public AnimationClip extractChannelsAsClip(final String name) {
        final AnimationClip clip = new AnimationClip(name);
        for (final AbstractAnimationChannel channel : getAnimationChannels()) {
            clip.addChannel(channel);
        }
        return clip;
    }

    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.