コード例 #1
0
 public ContextualStream()
     : base(AccessContext.Create(
                CsScopeLogic.Default,
                CsScopeLogic.CompleteScope),
            factory)
 {
     state = new streamData();
 }
コード例 #2
0
ファイル: LSLServer.cs プロジェクト: robinzhx/loom
    /// <summary>
    /// Add streaming objects at run time.
    /// TODO: This is trickier than it looks.
    ///       Have to coordinate server and client.
    ///       Prefer adding directly to the list in the editor.
    /// </summary>
    /// <param name="g">Gameobject to add</param>
    public void AddStreamingObject(GameObject g)
    {
        streamData s = new streamData();

        s.gameObject = g;
        s.type       = objectsToStream.Count;
        objectsToStream.Add(s);
    }
コード例 #3
0
 private ContextualStream(ContextualStream <T> parentContextual,
                          IAccessContext <CSScope> context)
     : base(context, factory)
 {
     state = parentContextual.state;
 }