Private class. Useful to check null materials.
Friend classes
Cmaterial, CmaterialLayer, CmaterialEmitter, Creflectance, Ccoating and Cbsdf.
Inherits from
Inherited by
CmaterialLayer, CmaterialEmitter, Creflectance, Ccoating and Cbsdf.
Examples
Cmaxwell::Cmaterial material = scene.createMaterial( "plastic" ); if( material.isNull() ) printf( "Error: material -plastic- not created" ); else printf( "Good news: material -plastic- created successfully" );
material = scene.createMaterial( 'plastic' ); if material.isNull(): print( 'Error: material -plastic- not created' ); else: print( 'Good news: material -plastic- created successfully' );