public final class Model extends Primitive
| Modifier and Type | Class and Description |
|---|---|
static class |
Model.Options |
| Modifier | Constructor and Description |
|---|---|
protected |
Model() |
create, getGeometryInstancespublic static Model fromGltf(String url, Model.Options options)
public void setActiveAnimations(ModelAnimationCollection activeAnimations)
public ModelAnimationCollection getActiveAnimations()
public boolean isAllowPicking()
public boolean isAsynchronous()
public String getBasePath()
public BoundingSphere getBoundingSphere()
public void setDebugShowBoundingVolume(boolean debugShowBoundingVolume)
public boolean isDebugShowBoundingVolume()
public void setDebugWireframe(boolean debugWireframe)
public boolean isDebugWireframe()
public com.google.gwt.core.client.JavaScriptObject getGltf()
public <T> T getId()
public <T> void setId(T id)
public void setShow(boolean show)
public boolean isShow()
public void setModelMatrix(Matrix4 modelMatrix)
public Matrix4 getModelMatrix()
public void setScale(double scale)
public double getScale()
public void setMinimumPixelSize(double minimumPixelSize)
public double getMinimumPixelSize()
public boolean isReady()
public Event onReadyToRender()
public ModelMaterial getMaterial(String name)
public void destroy()
public boolean isDestroyed()
Copyright © 2014. All rights reserved.