public void SetAnimationUpdateRate(ProceduralMaterial material, int animation_update_rate) { ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material); materialInformation.animationUpdateRate = animation_update_rate; this.SetMaterialInformation(material, materialInformation); }
public void SetGenerateAllOutputs(ProceduralMaterial material, bool generated) { ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material); materialInformation.generateAllOutputs = generated; this.SetMaterialInformation(material, materialInformation); }
public void SetMaterialScale(ProceduralMaterial material, Vector2 scale) { ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material); materialInformation.scale = scale; this.SetMaterialInformation(material, materialInformation); }
public void SetMaterialOffset(ProceduralMaterial material, Vector2 offset) { ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material); materialInformation.offset = offset; this.SetMaterialInformation(material, materialInformation); }
public void SetGenerateMipMaps(ProceduralMaterial material, bool mode) { ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material); materialInformation.generateMipMaps = mode; this.SetMaterialInformation(material, materialInformation); }
private extern void SetMaterialInformation(ProceduralMaterial material, ProceduralMaterialInformation information);