FaceCamSetPreviewPositionY() public static méthode

public static FaceCamSetPreviewPositionY ( int y ) : void
y int
Résultat void
Exemple #1
0
 public void faceCamSetPreviewPositionY(int val)
 {
     #if BROADCAST_USE_EVERYPLAY
     Everyplay.FaceCamSetPreviewPositionY(val);
     #else
     #endif
 }
Exemple #2
0
    void Awake()
    {
        Everyplay.RecordingStarted           += RecordingStarted;
        Everyplay.RecordingStopped           += RecordingStopped;
        Everyplay.ReadyForRecording          += ReadyForRecording;
        Everyplay.FaceCamRecordingPermission += FaceCamRecordingPermission;

        Everyplay.FaceCamSetPreviewOrigin(Everyplay.FaceCamPreviewOrigin.TopLeft);
        //Everyplay.FaceCamSetPreviewBorderWidth(0);
        Everyplay.FaceCamSetPreviewSideWidth(60);
        Everyplay.FaceCamSetPreviewPositionY(85);
    }
    void Start()
    {
        if (Everyplay.GetUserInterfaceIdiom() == (int)Everyplay.UserInterfaceIdiom.iPad)
        {
            Everyplay.FaceCamSetPreviewSideWidth(iPadPreviewSideWidth);
            Everyplay.FaceCamSetPreviewBorderWidth(iPadPreviewBorderWidth);
            Everyplay.FaceCamSetPreviewPositionX(iPadPreviewPositionX);
            Everyplay.FaceCamSetPreviewPositionY(iPadPreviewPositionY);
        }
        else
        {
            Everyplay.FaceCamSetPreviewSideWidth(iPhonePreviewSideWidth);
            Everyplay.FaceCamSetPreviewBorderWidth(iPhonePreviewBorderWidth);
            Everyplay.FaceCamSetPreviewPositionX(iPhonePreviewPositionX);
            Everyplay.FaceCamSetPreviewPositionY(iPhonePreviewPositionY);
        }

        Everyplay.FaceCamSetPreviewBorderColor(previewBorderColor.r, previewBorderColor.g, previewBorderColor.b, previewBorderColor.a);
        Everyplay.FaceCamSetPreviewOrigin(previewOrigin);
        Everyplay.FaceCamSetPreviewScaleRetina(previewScaleRetina);
        Everyplay.FaceCamSetPreviewVisible(previewVisible);

        Everyplay.FaceCamSetAudioOnly(audioOnly);
    }
 public void FaceCamSetPreviewPositionY(int y)
 {
     Everyplay.FaceCamSetPreviewPositionY(y);
 }