예제 #1
0
        public void SetColor(byte redVal, byte blueVal, byte greenVal)
        {
            MeshColor color = new MeshColor(redVal, greenVal, blueVal, 255);

            if (null != Display)
            {
                Display.SetColor(color);
            }
        }
예제 #2
0
        internal void SetDisplayPropertiesTo(IDisplayable display)
        {
            if (this.mPersistent != null)
            {
                display.SetVisibility(this.Visible);
            }

            if (null != this.Color)
            {
                display.SetColor(this.Color.IColor);
            }
        }