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

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

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

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

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

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

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