com.supermap.ar.areffect
类 ARVideoElement2
- java.lang.Object
-
- com.supermap.ar.areffect.AREffectElement
-
- com.supermap.ar.areffect.ARVideoElement2
-
public class ARVideoElement2 extends AREffectElement
author : linwenhao date : 2022/4/8 10:37 desc : version: 1.0
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.supermap.ar.areffect.AREffectElement
AREffectElement.OnRenderableLoadCompleteListener, AREffectElement.OnTapListener, AREffectElement.OnTouchListener, AREffectElement.PositionType, AREffectElement.VisualizerType
-
-
构造器概要
构造器 构造器和说明 ARVideoElement2(android.content.Context context)
构造方法
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
loadModel(int resourceId)
加载模型void
setChromaKeyColor(Color color)
must call beforeloadModel(int)
void
setLoop(boolean loop)
must call beforeloadModel(int)
void
setShadowCaster(boolean shadowCaster)
must call beforeloadModel(int)
void
setShadowReceiver(boolean shadowReceiver)
must call beforeloadModel(int)
void
setVideoAlignment(VideoNode.VideoAlignment alignment)
设置对齐方式,must call beforeloadModel(int)
void
start()
-
从类继承的方法 com.supermap.ar.areffect.AREffectElement
addChild, addChilds, addOnTapListener, addOnTouchListener, changeBindNode, clearChildren, createChildElement, destroy, getAllChilds, getAnchorNode, getArEffectView, getChild, getChild, getChild, getChildCount, getContext, getElementName, getElementType, getId, getLocalScaleFactor, getOnRenderableLoadCompleteListener, getParentNode, getPosition, getPositionType, getRelativePosition, getRotationQuaternion, getScaleFactor, getSelectionColor, getVisualizerType, getWGSCoordinates, isOverlap, isSelected, isShadowCaster, isShadowReceiver, isTransformable, isVisible, removeChild, removeChild, removeChild, removeChild, removeOnTapListener, removeOnTouchListener, select, setElementName, setLocalScaleFactor, setOnRenderableLoadCompleteListener, setParentNode, setParentNode, setParentNode, setPosition, setPosition, setRelativePosition, setRelativePosition, setRotateAlwaysToCamera, setRotateToCameraType, setRotationAngle, setRotationAngle, setRotationAngleNoRepeat, setRotationAngleRelative, setRotationQuaternion, setScaleFactor, setSelectionColor, setTransformable, setTransformable, setVisiblity, setVisualizerType, setWGSCoordinates, unSelect
-
-
-
-
方法详细资料
-
loadModel
public void loadModel(int resourceId)
从类复制的说明:AREffectElement
加载模型
-
setLoop
public void setLoop(boolean loop)
must call beforeloadModel(int)
- 参数:
loop
-
-
start
public void start()
-
setChromaKeyColor
public void setChromaKeyColor(Color color)
must call beforeloadModel(int)
- 参数:
color
-
-
setShadowCaster
public void setShadowCaster(boolean shadowCaster)
must call beforeloadModel(int)
- 覆盖:
setShadowCaster
在类中AREffectElement
- 参数:
shadowCaster
-
-
setShadowReceiver
public void setShadowReceiver(boolean shadowReceiver)
must call beforeloadModel(int)
- 覆盖:
setShadowReceiver
在类中AREffectElement
- 参数:
shadowReceiver
-
-
setVideoAlignment
public void setVideoAlignment(VideoNode.VideoAlignment alignment)
设置对齐方式,must call beforeloadModel(int)
- 参数:
alignment
-
-
-