Function NodeMaterialCreateDefault
-
Parameters
- name: string
defines the name of the material
Optionalscene: Scenedefines the hosting scene
Returns NodeMaterial
a new NodeMaterial
- name: string
defines the name of the material
Optionalscene: Scene
defines the hosting scene
a new NodeMaterial
Creates a new node material set to default basic configuration