Wire

사용되지 않는 항목 표시

Wire connects one or more Instances to form a processing graph of their streams. Each Wire connects a source and target instance, and a source and target "pin" within each of those instances. Pins are string identifiers that select which stream is to be carried by the wire.

At the moment, only audio streams are supported, but this may expand in the future.

The following instances may be connected by Wires:

요약

속성

속성

Connected

읽기 전용
복제되지 않음
병렬 읽기

Denotes whether the Wire is connected, meaning its SourceInstance, TargetInstance, SourceName, and TargetName properties are all assigned, the connection is valid, and the connection does not result in a cyclic processing graph. Cyclic processing graphs are invalid since they can result in infinite computation; attempting to create one will log an error.

SourceInstance

병렬 읽기

The Instance producing a stream to be carried over the wire. At the moment, only audio streams are wirable.

SourceName

병렬 읽기

The name of the pin on SourceInstance that is producing a stream. At the moment, various audio instances only have an Output pin, but this may expand in the future. The default value of this property is Output so it is not yet necessary to change.

TargetInstance

병렬 읽기

The Instance intended to receive a stream from SourceInstance. Currently, only audio streams are wirable.

TargetName

병렬 읽기

The name of the pin on TargetInstance that is receiving a stream. At the moment, audio instances typically have an Input pin, but AudioCompressor has an additional Sidechain pin. This may expand in the future.

메서드

이벤트