public void ReplaceOriginalShader(MaterialEffectInfo info) { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.ReplaceShader(info); matComponent.ChangeSharedMaterials(); }
public void StopShader(string name, bool destory) { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.StopShader(name, destory); }
public void OriginalShader() { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.OriginalShader(); }
public void UpdateSharedMaterials(string[] repalceShaderName) { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.UpdateSharedMaterials(repalceShaderName); }
public void ReplaceShader(MaterialEffectInfo info) { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.ReplaceShader(info); }
public void SetColor(string name, Color color, string nodeName = "") { GOEEntityMaterial matComponent = GOEEntityComponent.Add <GOEEntityMaterial>(this); matComponent.SetColor(name, color, nodeName); }