AttachToParameterSet() public method

public AttachToParameterSet ( IEffectParameterSet parameterSet ) : void
parameterSet IEffectParameterSet
return void
        public IEffectSemantic Clone(IEffectParameterSet parameterSet)
        {
            var clone = new WorldViewProjectionEffectSemantic();

            clone.AttachToParameterSet(parameterSet);
            if (_parameterSet != null)
            {
                clone.World      = World;
                clone.View       = View;
                clone.Projection = Projection;
            }
            return(clone);
        }
 public IEffectSemantic Clone(IEffectParameterSet parameterSet)
 {
     var clone = new WorldViewProjectionEffectSemantic();
     clone.AttachToParameterSet(parameterSet);
     if (_parameterSet != null)
     {
         clone.World = World;
         clone.View = View;
         clone.Projection = Projection;
     }
     return clone;
 }