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

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

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

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

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

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

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