Example #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);
            }
        }
Example #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);
        }