CryEngine.Material.SetShaderParam C# (CSharp) Method

SetShaderParam() public method

Sets a shader parameter value by name.
public SetShaderParam ( string paramName, float newVal ) : void
paramName string
newVal float
return void
        public void SetShaderParam(string paramName, float newVal)
        {
            NativeMaterialMethods.SetShaderParam(Handle, paramName, newVal);
        }

Same methods

Material::SetShaderParam ( ShaderColorParameter param, Color value ) : void
Material::SetShaderParam ( ShaderColorParameter param, Vec3 value ) : void
Material::SetShaderParam ( ShaderFloatParameter param, float value ) : void
Material::SetShaderParam ( string paramName, Color newVal ) : void