public class ARWebViewElement extends ARViewElement
AREffectElement.OnTapListener, AREffectElement.OnTouchListener, AREffectElement.PositionType
构造器和说明 |
---|
ARWebViewElement(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getWebUri()
获取起始页网址
|
void |
loadModel(int resourceId)
加载webView
|
void |
loadModel(java.lang.String webUri)
加载视图(view的2D模型)
|
void |
setWebUri(java.lang.String uri)
设置起始页网址
|
getView
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 void loadModel(java.lang.String webUri)
webUri
-public java.lang.String getWebUri()
public void setWebUri(java.lang.String uri)
uri
-public void loadModel(int resourceId)
loadModel
在类中 ARViewElement
resourceId
- webView控件的id