Package org.terasology.rendering.nui.skin

Examples of org.terasology.rendering.nui.skin.UISkinData


    }

    @Command(shortDescription = "Reloads a skin")
    public String reloadSkin(@CommandParam("skin") String skin) {
        AssetUri uri = new AssetUri(AssetType.UI_SKIN, skin);
        UISkinData uiSkinData = CoreRegistry.get(AssetManager.class).loadAssetData(uri, UISkinData.class);
        if (uiSkinData != null) {
            CoreRegistry.get(AssetManager.class).generateAsset(uri, uiSkinData);
            return "Success";
        } else {
            return "Unable to resolve skin '" + skin + "'";
View Full Code Here

TOP

Related Classes of org.terasology.rendering.nui.skin.UISkinData

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.