Message 1 of 3
Not applicable
01-31-2018
08:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
how create an switch material with python ?
documentation says :
createMaterial(type)
Creates a MaterialPtr of a specific type.
Parameters: type - The name of the material type.
(type=string - names are like 'U'+like in the MaterialEditor without space e.g. 'UPlasticMaterial') Returns: The material.
(type=vrMaterialPtr)
I tried how documentation says :
createMaterial('USwitchMaterial')but don't work 😞
Solved! Go to Solution.