com.supermap.ar.areffect

Class ARVideoElement2



  • public class ARVideoElement2
    extends AREffectElement
    author : linwenhao date : 2022/4/8 10:37 desc : version: 1.0
    • Constructor Detail

      • ARVideoElement2

        public ARVideoElement2(android.content.Context context)
        constructor
        Parameters:
        context -
    • Method Detail

      • loadModel

        public void loadModel(int resourceId)
      • setLoop

        public void setLoop(boolean loop)
        must call before loadModel(int)
        Parameters:
        loop -
      • start

        public void start()
      • setChromaKeyColor

        public void setChromaKeyColor(Color color)
        must call before loadModel(int)
        Parameters:
        color -
      • setVideoAlignment

        public void setVideoAlignment(VideoNode.VideoAlignment alignment)
        Setting alignment,must call before loadModel(int)
        Parameters:
        alignment -