This reference page is linked to from the following overview topics: Use the Object Model instead of GetValue and SetValue.
#include <xsi_null.h>
The Null object is a specialized X3DObject object and represents a point in space with no dimensions. Nulls can be used to set constraints, organize objects into hierarchies, and so on.
using namespace XSI;
Application app;
Model root = app.GetActiveSceneRoot();
Null myNull;
root.AddNull( L"MyNull", myNull );
app.LogMessage( myNull.GetFullName() );
Public Member Functions |
|
| Null () | |
| ~Null () | |
| Null (const CRef &in_ref) | |
| Null (const Null &in_obj) | |
| bool | IsA (siClassID in_ClassID) const |
| siClassID | GetClassID () const |
| Null & | operator= (const Null &in_obj) |
| Null & | operator= (const CRef &in_ref) |
| Null | ( | ) |
Default constructor.
| ~Null | ( | ) |
Default destructor.
| bool IsA | ( | siClassID | in_ClassID | ) | const [virtual] |
Returns true if a given class type is compatible with this API class.
| in_ClassID | class type. |
Reimplemented from X3DObject.
| siClassID GetClassID | ( | ) | const [virtual] |
Creates an object from another object. The newly created object is set to empty if the input object is not compatible.
| in_obj | constant class object. |