This reference page is linked to from the following overview topics: Object Plug-ins, Plug-in Base Classes.
This is used as a base class to create helper object plug-ins.
It simply provides implementations for a few of the methods of Animatable and Object.
#include <object.h>
Public Member Functions |
|
SClass_ID | SuperClassID () |
Implemented by the System. |
|
int | IsRenderable () |
Implemented by the System. |
|
virtual void | InitNodeName (MSTR &s) |
Implemented by the System. |
|
virtual int | UsesWireColor () |
Implemented by the System. |
|
virtual BOOL | NormalAlignVector (TimeValue t, Point3 &pt, Point3 &norm) |
Objects that don't support the
IntersectRay() method (such as helper objects) can implement
this method to provide a default vector for use with the normal
align command in 3ds Max. |
SClass_ID SuperClassID | ( | ) | [inline, virtual] |
Implemented by the System.
Returns the super class ID of this plug-in type: HELPER_CLASS_ID
Reimplemented from ReferenceTarget.
{ return HELPER_CLASS_ID; }
int IsRenderable | ( | ) | [inline, virtual] |
Implemented by the System.
Returns 0 to indicate this object type may not be rendered.
Implements Object.
Reimplemented in DummyObject.
{ return(0); }
virtual void InitNodeName | ( | MSTR & | s | ) | [inline, virtual] |
Implemented by the System.
Sets the default node name to "Helper".
Implements Object.
Reimplemented in DummyObject, SphereGizmoObject, CylGizmoObject, BoxGizmoObject, SimpleManipulator, PFSimpleAction, MSPluginObject< HelperObject >, and MSObjectXtnd< HelperObject, MSPluginHelper >.
{ s = _M("Helper"); }
virtual int UsesWireColor | ( | ) | [inline, virtual] |
Implemented by the System.
Returns TRUE to indicate the object color is used for display.
Reimplemented from Object.
Reimplemented in MSPluginHelper, MSHelperXtnd, MSPluginSimpleManipulator, and MSSimpleManipulatorXtnd.
{ return FALSE; } // TRUE if the object color is used for display
Objects that don't support the IntersectRay() method (such as helper objects) can implement this method to provide a default vector for use with the normal align command in 3ds Max.
t | The time to compute the normal align vector. |
pt | The point of intersection. |
norm | The normal at the point of intersection. |
Reimplemented from Object.
Reimplemented in ConstObject, MSPluginHelper, MSHelperXtnd, MSPluginSimpleManipulator, and MSSimpleManipulatorXtnd.