private CreateServerTexture ( string serverName ) : IntPtr | ||
serverName | string | |
return | IntPtr |
protected int cachedHeight = 0; // current camera texture height #if UNITY_EDITOR //i don't trust that this doesn't crash unity. need more testing. // public SyphonServerTexture(){ // Syphon.syphonScriptCount++; // } // ~SyphonServerTexture(){ // Syphon.syphonScriptCount--; // } #endif public virtual void Start() { //this next line creates a syphon instance if it doesn't already exist Syphon instance = Syphon.Instance; syphonServerTextureInstance = Syphon.CreateServerTexture(gameObject.name); }
private RenderTexture dstTex = null; // reference to the camera render destination (when GUI in ON) void Start() { //Syphon instance = Syphon.Instance; syphonServerTextureInstance = Syphon.CreateServerTexture(gameObject.name); }