Ejemplo n.º 1
0
        public void SetAnimationUpdateRate(ProceduralMaterial material, int animation_update_rate)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

            materialInformation.animationUpdateRate = animation_update_rate;
            this.SetMaterialInformation(material, materialInformation);
        }
Ejemplo n.º 2
0
        public void SetGenerateAllOutputs(ProceduralMaterial material, bool generated)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

            materialInformation.generateAllOutputs = generated;
            this.SetMaterialInformation(material, materialInformation);
        }
Ejemplo n.º 3
0
        public void SetMaterialScale(ProceduralMaterial material, Vector2 scale)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

            materialInformation.scale = scale;
            this.SetMaterialInformation(material, materialInformation);
        }
Ejemplo n.º 4
0
        public void SetMaterialOffset(ProceduralMaterial material, Vector2 offset)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

            materialInformation.offset = offset;
            this.SetMaterialInformation(material, materialInformation);
        }
Ejemplo n.º 5
0
        public void SetGenerateMipMaps(ProceduralMaterial material, bool mode)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

            materialInformation.generateMipMaps = mode;
            this.SetMaterialInformation(material, materialInformation);
        }
Ejemplo n.º 6
0
		private extern void SetMaterialInformation(ProceduralMaterial material, ProceduralMaterialInformation information);
Ejemplo n.º 7
0
 private extern void SetMaterialInformation(ProceduralMaterial material, ProceduralMaterialInformation information);