Skip to content
Proyectos

Acerca de

Syphon plugin for Unity

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

KlakSyphon

screenshot

KlakSyphon is a Unity plugin that lets Unity send and receive video streams through the Syphon system.

System Requirements

  • Unity 2022.3 or later
  • macOS system with Metal graphics API support

How to Install

Install the KlakSyphon package (jp.keijiro.klak.syphon) from the "Keijiro" scoped registry in Package Manager. Follow these instructions to add the registry to your project.

Syphon Server Component

Syphon Server

Use the Syphon Server component to send a video stream. It provides three capture methods:

  • Game View: Captures the content of the Game View.
  • Camera: Captures a specified camera.
  • Texture: Captures a 2D texture or a Render Texture.

The Camera capture method is available only on URP and HDRP—you can't use it on the built-in render pipeline.

The KeepAlpha property controls whether the alpha channel is preserved or cleared. Enable alpha output when using HDRP. On URP, select the Texture capture method to output alpha.

Syphon Client Component

Syphon Client

Use the Syphon Client component to receive a video stream. It stores incoming frames in the Target Texture and overrides the material property set in the Target Renderer.

You can also access the received texture via the SyphonClient.Texture property.

Scripting Interface

Enumerate available Syphon servers with the SyphonServerDirectory class; see the SourceSelector example for details.

You can create Syphon servers or clients at runtime, but you must assign the SyphonResources asset (which holds references to package assets) after instantiation.

Explorar proyectos relacionados

Cargando…