Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Private class. Useful to check null objects, materials, etc.

Friend classes

Cmaxwell

CmaxwellMxi

Cmaxwell::Ccluster

Cmaxwell::Cobject

Cmaxwell::Ccamera

Cmaxwell::Cmaterial

Cmaxwell::CmaterialEmitter

Cmaxwell::CmaterialLayer

Cmaxwell::Creflectance

Cmaxwell::Ccoating

Cmaxwell::CbsdfCmaxwellMxiCclusterCobjectCcameraCmaterialCmaterialEmitterCmaterialLayerCreflectanceCcoating and Cbsdf.

Inherited by

CmaterialPointer, Cmaterial, Ccamera, Cobject and Ccluster.

Methods

NameDescription
isNullReturns whether the object, material or camera is empty (null).
getPointerInternal use.

...

Code Block
languagejavascript
titlePython
CmaxwellObject scene.getObject( 'myobject' );
if object.isNull():
  print( 'Error: -myobject- not exists' );
else:
  printf( "Good news: -myobject- readed successfully" );

...