SetInputValidated() static private method

static private SetInputValidated ( AnimationPlayable target, Playable source, int index, System typeofTarget ) : bool
target AnimationPlayable
source Playable
index int
typeofTarget System
return bool
コード例 #1
0
 public unsafe bool SetInput(Playable source, int index)
 {
     return(AnimationPlayableUtilities.SetInputValidated(*((AnimationPlayable *)this), source, index, base.GetType()));
 }
コード例 #2
0
 /// <summary>
 /// <para>Sets an Playable as an input.</para>
 /// </summary>
 /// <param name="source">Playable to be used as input.</param>
 /// <param name="index">Index of the input.</param>
 /// <returns>
 /// <para>Returns false if the operation could not be completed.</para>
 /// </returns>
 public bool SetInput(Playable source, int index) =>
 AnimationPlayableUtilities.SetInputValidated((AnimationPlayable)this, source, index, base.GetType());