Class PlayableOutputExtensions
Inheritance
PlayableOutputExtensions
Assembly: UnityEngine.dll
Syntax
public static class PlayableOutputExtensions
Methods
|
Improve this Doc
View Source
AddNotificationReceiver<U>(U, INotificationReceiver)
Declaration
public static void AddNotificationReceiver<U>(this U output, INotificationReceiver receiver)
where U : struct, IPlayableOutput
Parameters
Type Parameters
|
Improve this Doc
View Source
GetNotificationReceivers<U>(U)
Declaration
public static INotificationReceiver[] GetNotificationReceivers<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetReferenceObject<U>(U)
Declaration
public static Object GetReferenceObject<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetSourceInputPort<U>(U)
Declaration
[Obsolete("Method GetSourceInputPort has been renamed to GetSourceOutputPort (UnityUpgradable) -> GetSourceOutputPort<U>(*)", false)]
public static int GetSourceInputPort<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetSourceOutputPort<U>(U)
Declaration
public static int GetSourceOutputPort<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetSourcePlayable<U>(U)
Declaration
public static Playable GetSourcePlayable<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetUserData<U>(U)
Declaration
public static Object GetUserData<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetWeight<U>(U)
Declaration
public static float GetWeight<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
IsOutputNull<U>(U)
Declaration
public static bool IsOutputNull<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
IsOutputValid<U>(U)
Declaration
public static bool IsOutputValid<U>(this U output)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Returns
Type Parameters
|
Improve this Doc
View Source
PushNotification<U>(U, Playable, INotification, Object)
Declaration
public static void PushNotification<U>(this U output, Playable origin, INotification notification, object context = null)
where U : struct, IPlayableOutput
Parameters
Type Parameters
|
Improve this Doc
View Source
RemoveNotificationReceiver<U>(U, INotificationReceiver)
Declaration
public static void RemoveNotificationReceiver<U>(this U output, INotificationReceiver receiver)
where U : struct, IPlayableOutput
Parameters
Type Parameters
|
Improve this Doc
View Source
SetReferenceObject<U>(U, Object)
Declaration
public static void SetReferenceObject<U>(this U output, Object value)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Object |
value |
|
Type Parameters
|
Improve this Doc
View Source
SetSourceInputPort<U>(U, Int32)
Declaration
[Obsolete("Method SetSourceInputPort has been renamed to SetSourceOutputPort (UnityUpgradable) -> SetSourceOutputPort<U>(*)", false)]
public static void SetSourceInputPort<U>(this U output, int value)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Int32 |
value |
|
Type Parameters
|
Improve this Doc
View Source
SetSourceOutputPort<U>(U, Int32)
Declaration
public static void SetSourceOutputPort<U>(this U output, int value)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Int32 |
value |
|
Type Parameters
|
Improve this Doc
View Source
SetSourcePlayable<U, V>(U, V)
Declaration
public static void SetSourcePlayable<U, V>(this U output, V value)
where U : struct, IPlayableOutput where V : struct, IPlayable
Parameters
Type |
Name |
Description |
U |
output |
|
V |
value |
|
Type Parameters
|
Improve this Doc
View Source
SetSourcePlayable<U, V>(U, V, Int32)
Declaration
public static void SetSourcePlayable<U, V>(this U output, V value, int port)
where U : struct, IPlayableOutput where V : struct, IPlayable
Parameters
Type |
Name |
Description |
U |
output |
|
V |
value |
|
Int32 |
port |
|
Type Parameters
|
Improve this Doc
View Source
SetUserData<U>(U, Object)
Declaration
public static void SetUserData<U>(this U output, Object value)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Object |
value |
|
Type Parameters
|
Improve this Doc
View Source
SetWeight<U>(U, Single)
Declaration
public static void SetWeight<U>(this U output, float value)
where U : struct, IPlayableOutput
Parameters
Type |
Name |
Description |
U |
output |
|
Single |
value |
|
Type Parameters