Skip to content
Projets

À propos

Syphon plugin for Unity

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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.

Explorer des projets similaires

Chargement…