Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Mesh
  5. modifyMaterialFloat

modifyMaterialFloat

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Modify advanced parameters for a material, if it is a user created global material then it uses the Standard shader format eg: _GlossMapScale and _BumpScale

Parameters:

  • parameter
    • A string value
  • value
    • A float value

Example:

1
obj.modifyMaterialFloat(parameter, value)
Tags
Was this article helpful to you? Yes No

How can we help?