MaterialRuntimeVariable.cpp 531 B

12345678910111213141516
  1. #include "anki/script/Common.h"
  2. #include "anki/scene/MaterialRuntimeVariable.h"
  3. WRAP(MaterialRuntimeVariable)
  4. {
  5. class_<MaterialRuntimeVariable, noncopyable>("MaterialRuntimeVariable",
  6. no_init)
  7. .def("setValue", (void (MaterialRuntimeVariable::*)(const float&))
  8. (&MaterialRuntimeVariable::setValue))
  9. .def("setValue", (void (MaterialRuntimeVariable::*)(const Vec2&))
  10. (&MaterialRuntimeVariable::setValue))
  11. .def("setValue", (void (MaterialRuntimeVariable::*)(const Vec3&))
  12. (&MaterialRuntimeVariable::setValue))
  13. ;
  14. }