/****************************************************************************
* Copyright 2019 Nreal Techonology Limited. All rights reserved.
*
* This file is part of NRSDK.
*
* https://www.nreal.ai/
*
*****************************************************************************/
namespace NRKernal.Experimental.StreammingCast
{
using UnityEngine;
/// An observer view configuration.
public struct ObserverViewConfig
{
/// The server IP.
[SerializeField]
public string serverIP;
[SerializeField]
public bool useDebugUI;
[SerializeField]
public Vector3 offset;
/// Constructor.
/// The serverip.
/// (Optional) True to usedebug.
public ObserverViewConfig(string serverip, Vector3 offset, bool usedebug = false)
{
this.serverIP = serverip;
this.useDebugUI = usedebug;
this.offset = offset;
}
public override string ToString()
{
return serverIP;
}
}
}