Functions
gazebo::rendering Namespace Reference

Functions

void SetMaterialShaderParam (Visual &_visual, const std::string &_paramName, const std::string &_shaderType, const std::string &_value)
 Set a shader program parameter associated to this visual's material. More...
 

Function Documentation

void gazebo::rendering::SetMaterialShaderParam ( Visual &  _visual,
const std::string &  _paramName,
const std::string &  _shaderType,
const std::string &  _value 
)

Set a shader program parameter associated to this visual's material.

Parameters
[in]_visualReference to a Visual
[in]_paramNameName of shader parameter
[in]_shaderTypeType of shader. Supported types: vertex, fragment
[in]_valueValue to set the parameter to. The value string can be a number (int, float) or a space delimited array of numbers (floats). The value type must match the type defined in the shaders. Note: Setting vec2/float2 params is only supported in ogre1.9+

Definition at line 33 of file Gazebo.cc.



wave_gazebo_plugins
Author(s): Rhys Mainwaring
autogenerated on Thu May 7 2020 03:54:44