Package org.jdesktop.wonderland.common.cell.state

Examples of org.jdesktop.wonderland.common.cell.state.ModelCellComponentClientState


            ClientCapabilities capabilities) {


        // If the given cellClientState is null, create a new one
        if (state == null) {
            state = new ModelCellComponentClientState();
        }

        serverState.setClientState((ModelCellComponentClientState)state);

        return state;
View Full Code Here


    @Override
    public void setClientState(CellComponentClientState clientState) {
        super.setClientState(clientState);

        ModelCellComponentClientState state = (ModelCellComponentClientState) clientState;
        setDeployedModelURL(state.getDeployedModelURL());
        pickable = state.isPickingEnabled();
        lightingEnabled = state.isLightingEnabled();
        backfaceCullingEnabled = state.isBackfaceCullingEnabled();
        transparency = state.getTransparencyMode();

        if (renderer!=null) {
            renderer.setPickingEnabled(pickable);
            renderer.setLightingEnabled(lightingEnabled);
            renderer.setBackfaceCullingEnabled(backfaceCullingEnabled);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.common.cell.state.ModelCellComponentClientState

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.