예제 #1
0
        public PlayableHandle CreatePlayable()
        {
            PlayableHandle @null = PlayableHandle.Null;
            PlayableHandle result;

            if (!PlayableGraph.InternalCreatePlayable(ref this, ref @null))
            {
                result = PlayableHandle.Null;
            }
            else
            {
                result = @null;
            }
            return(result);
        }
예제 #2
0
        public PlayableHandle CreateGenericMixerPlayable([DefaultValue("0")] int inputCount)
        {
            PlayableHandle @null = PlayableHandle.Null;
            PlayableHandle result;

            if (!PlayableGraph.InternalCreatePlayable(ref this, ref @null))
            {
                result = PlayableHandle.Null;
            }
            else
            {
                @null.inputCount = inputCount;
                result           = @null;
            }
            return(result);
        }