C# Client
0.0.0.7
C# Library to interface with Corelink
Loading...
Searching...
No Matches
MB_SenderStream.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
namespace
CoreLink
4
{
9
public
class
SenderStream
: MonoBehaviour
10
{
11
public
string
workspace
=
"Holodeck"
;
12
public
string
type
=
"unity"
;
13
protected
uint
streamID
;
14
protected
Control
control
;
15
virtual
public
void
Initialize
(ref
Control
control
)
16
{
17
this.control =
control
;
18
if
(
string
.IsNullOrEmpty(this.workspace)) this.workspace =
"Holodeck"
;
19
if
(
string
.IsNullOrEmpty(this.type)) this.type =
"unity"
;
20
streamID
=
control
.
createSender
(
new
SenderStreamParams
(
"Holodeck"
,
"unity"
));
21
}
22
}
23
}
CoreLink.Control
Singleton class to communicate with Corelink.
Definition
Control.cs:21
CoreLink.Control.createSender
uint createSender(SenderStreamParams streamParams)
Asks Corelink to create a sender stream. At minimum, this requires a workspace name and a type....
Definition
Control.cs:133
CoreLink.SenderStream
Parent class to custom sender scripts that will be attached to GameObjects. Several of these can be i...
Definition
MB_SenderStream.cs:10
CoreLink.SenderStream.type
string type
Definition
MB_SenderStream.cs:12
CoreLink.SenderStream.Initialize
virtual void Initialize(ref Control control)
Definition
MB_SenderStream.cs:15
CoreLink.SenderStream.workspace
string workspace
Definition
MB_SenderStream.cs:11
CoreLink.SenderStream.streamID
uint streamID
Definition
MB_SenderStream.cs:13
CoreLink.SenderStream.control
Control control
Definition
MB_SenderStream.cs:14
CoreLink.SenderStreamParams
Contains all the necessary parameters for sender streams except IP and port. Inherits from StreamPara...
Definition
SenderStreamParams.cs:9
CoreLink
Definition
Control.cs:11
CorelinkMonobehavior
MB_SenderStream.cs
Generated by
1.11.0