public class ARVideoElement2 extends 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 before
loadModel(int) |
void |
setLoop(boolean loop)
must call before
loadModel(int) |
void |
setShadowCaster(boolean shadowCaster)
must call before
loadModel(int) |
void |
setShadowReceiver(boolean shadowReceiver)
must call before
loadModel(int) |
void |
setVideoAlignment(VideoNode.VideoAlignment alignment)
设置对齐方式,must call before
loadModel(int) |
void |
start() |
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
public void loadModel(int resourceId)
AREffectElement
public void setLoop(boolean loop)
loadModel(int)
loop
- public void start()
public void setChromaKeyColor(Color color)
loadModel(int)
color
- public void setShadowCaster(boolean shadowCaster)
loadModel(int)
setShadowCaster
在类中 AREffectElement
shadowCaster
- public void setShadowReceiver(boolean shadowReceiver)
loadModel(int)
setShadowReceiver
在类中 AREffectElement
shadowReceiver
- public void setVideoAlignment(VideoNode.VideoAlignment alignment)
loadModel(int)
alignment
-