Show / Hide Table of Contents

Class PlayableOutputExtensions

Inheritance
Object
PlayableOutputExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Playables
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 Name Description
U output
INotificationReceiver receiver
Type Parameters
Name Description
U
| 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 Description
INotificationReceiver[]
Type Parameters
Name Description
U
| 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 Description
Object
Type Parameters
Name Description
U
| 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 Description
Int32
Type Parameters
Name Description
U
| 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 Description
Int32
Type Parameters
Name Description
U
| 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 Description
Playable
Type Parameters
Name Description
U
| 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 Description
Object
Type Parameters
Name Description
U
| 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 Description
Single
Type Parameters
Name Description
U
| 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 Description
Boolean
Type Parameters
Name Description
U
| 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 Description
Boolean
Type Parameters
Name Description
U
| 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 Name Description
U output
Playable origin
INotification notification
Object context
Type Parameters
Name Description
U
| 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 Name Description
U output
INotificationReceiver receiver
Type Parameters
Name Description
U
| 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
Name Description
U
| 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
Name Description
U
| 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
Name Description
U
| 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
Name Description
U
V
| 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
Name Description
U
V
| 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
Name Description
U
| 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
Name Description
U
  • Improve this Doc
  • View Source
Back to top Generated by DocFX