Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSourceOutputPort<U>(U)

Returns the source playable's output connection index.
Read time 1 minuteLast updated 10 days ago

Definition

GetSourceOutputPort<T>(T)

public static int GetSourceOutputPort<U>(this U output) where U : struct, IPlayableOutput

Parameters

output

T
The PlayableOutput used by this operation.

Returns

Type

Description

intThe output port.

Remarks

Default value is 0.