Esempio n. 1
0
        public void ReplaceOriginalShader(MaterialEffectInfo info)
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.ReplaceShader(info);
            matComponent.ChangeSharedMaterials();
        }
Esempio n. 2
0
        public void StopShader(string name, bool destory)
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.StopShader(name, destory);
        }
Esempio n. 3
0
        public void OriginalShader()
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.OriginalShader();
        }
Esempio n. 4
0
        public void UpdateSharedMaterials(string[] repalceShaderName)
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.UpdateSharedMaterials(repalceShaderName);
        }
Esempio n. 5
0
        public void ReplaceShader(MaterialEffectInfo info)
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.ReplaceShader(info);
        }
Esempio n. 6
0
        public void SetColor(string name, Color color, string nodeName = "")
        {
            GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this);

            matComponent.SetColor(name, color, nodeName);
        }