Examples of unregisterAvatar()


Examples of org.jdesktop.wonderland.modules.avatarbase.client.registry.AvatarRegistry.unregisterAvatar()

    public void unregisterAvatars() {
        AvatarRegistry registry = AvatarRegistry.getAvatarRegistry();
        synchronized (localAvatars) {
            for (String avatarName : localAvatars.keySet()) {
                ImiAvatar avatar = localAvatars.get(avatarName);
                registry.unregisterAvatar(avatar);
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.jdesktop.wonderland.modules.avatarbase.client.registry.AvatarRegistry.unregisterAvatar()

        synchronized (localAvatars) {
            localAvatars.remove(avatar.getName());

            // Remove the avatar from the system
            AvatarRegistry registry = AvatarRegistry.getAvatarRegistry();
            registry.unregisterAvatar(avatar);

            try {
                // Remove from the user's local repository.
                String fileName = avatar.getResource().getName();
                imiCollection.removeChild(fileName);
View Full Code Here

Examples of org.jdesktop.wonderland.modules.avatarbase.client.registry.AvatarRegistry.unregisterAvatar()

     */
    public void unregisterAvatars(ServerSessionManager session) {
        // Look through and unregistry all of the basic avatars
        AvatarRegistry registry = AvatarRegistry.getAvatarRegistry();
        for (BasicAvatar avatar : basicAvatarSet) {
            registry.unregisterAvatar(avatar);
        }
        basicAvatarSet.clear();
        basicAvatarSet = null;
    }
}
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.