예제 #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);
        }
예제 #2
0
        public void SetGenerateAllOutputs(ProceduralMaterial material, bool generated)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

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

            materialInformation.scale = scale;
            this.SetMaterialInformation(material, materialInformation);
        }
예제 #4
0
        public void SetMaterialOffset(ProceduralMaterial material, Vector2 offset)
        {
            ProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);

            materialInformation.offset = offset;
            this.SetMaterialInformation(material, materialInformation);
        }
예제 #5
0
        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);
예제 #7
0
 private extern void SetMaterialInformation(ProceduralMaterial material, ProceduralMaterialInformation information);