public class ARGltfElement extends AREffectElement
AREffectElement.OnTapListener, AREffectElement.OnTouchListener, AREffectElement.PositionType
构造器和说明 |
---|
ARGltfElement(android.content.Context context)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
Gltf |
getGltfModel() |
Renderable |
getRenderable() |
void |
loadModel(Gltf gltf)
加载模型
|
void |
loadModel(int resourceId)
加载模型
|
void |
loadModel(java.lang.String resourceUri)
加载模型
|
void |
reLoadModel()
重新加载模型
|
void |
setGltfModel(Gltf gltfModel) |
addChild, addChilds, addOnTapListener, addOnTouchListener, clearAllChilds, getAllChilds, getChild, getChild, getChild, getChildCount, getId, getPosition, getPositionType, getRelativePosition, getRotationAngle, getRotationAxis, getScaleFactor, getWGSCoordinates, isTransformable, isVisible, removeChild, removeChild, removeChild, removeOnTapListener, removeOnTouchListener, setElementName, setParentNode, setParentNode, setPosition, setRelativePosition, setRotationAngle, setScaleFactor, setTransformable, setVisiblity, setWGSCoordinates
public Renderable getRenderable()
public void loadModel(java.lang.String resourceUri)
resourceUri
-public void loadModel(Gltf gltf)
gltf
-public void loadModel(int resourceId)
resourceId
-public void reLoadModel()
public Gltf getGltfModel()
public void setGltfModel(Gltf gltfModel)