Exemplo n.º 1
0
        public void Write(MaterialElem elem, JsonScopeObjectWriter scope)
        {
            this.elem  = elem;
            this.scope = scope;

            var attrs = GetAttributes();

            foreach (var attr in attrs)
            {
                WriteCommonProperty(attr);
            }
        }
Exemplo n.º 2
0
        public void Write(MaterialElem elem, JsonScopeObjectWriter scope)
        {
            this.elem  = elem;
            this.scope = scope;

            var attrs = GetAttributes();

            foreach (var attr in attrs)
            {
                WriteCommonProperty(attr);
            }

            WriteProperty("transparent", elem.Transparent, false);
        }