コード例 #1
0
    /// <summary>
    /// Resets the context.
    /// </summary>
    /// <returns>error code</returns>
    public OVRLipSync.Result ResetContext()
    {
        // Reset visemes to silence etc.
        frame.Reset();

        return(OVRLipSync.ResetContext(context));
    }
コード例 #2
0
 // Token: 0x06003A9B RID: 15003 RVA: 0x00127984 File Offset: 0x00125D84
 public int ResetContext()
 {
     if (OVRLipSync.IsInitialized() != 0)
     {
         return(-2200);
     }
     return(OVRLipSync.ResetContext(this.context));
 }
コード例 #3
0
    /// <summary>
    /// Resets the context.
    /// </summary>
    /// <returns>error code</returns>
    public int ResetContext()
    {
        if (OVRLipSync.IsInitialized() != OVRLipSync.ovrLipSyncSuccess)
        {
            return((int)OVRLipSync.ovrLipSyncError.Unknown);
        }

        return(OVRLipSync.ResetContext(context));
    }
コード例 #4
0
    /// <summary>

    /// Resets the context.

    /// </summary>

    /// <returns>error code</returns>

    public OVRLipSync.Result ResetContext()

    {
        return(OVRLipSync.ResetContext(context));
    }