S3DSceneGraphUtils |
This class is used to manipulate the scenegraph.
|
Interface Methods |
Descriptions |
|
Constructor |
|
|
Destructor |
|
|
Initializes the object for use |
|
|
Returns the Shockwave 3D§ core services object |
|
|
Returns the current scenegraph |
|
|
Returns the current Light Palette |
|
|
Returns the current Material Palette |
|
|
Returns the current Model Palette |
|
|
Returns the current Motion palette |
|
|
Returns the current Node palette |
|
|
Returns the current Shader palette |
|
|
Returns the current Texture palette |
|
|
Adds a new view to the scene |
|
|
Adds a skeleton modifier to the model resource |
|
|
Adds a motion resource to the motion palette and returns the new motion resource |
|
|
Eliminates duplicate frames from the Motion Resource |
|
|
Adds a skeleton modifier param to a node |
|
|
Sets the priority on all textures used by the node |
|
|
Sets the priority on all textures referenced by the style palette |
|
|
Sets the priority on all textures referenced by the style palette |
|
|
Finds the bounding sphere for the world |
Constructor method.
Parameters:
None
Return Values:
None
Destructor method.
Parameters:
None
Return Values:
None
This method adds a motion resource to the motion palette and returns the new motion resource.
Parameters:
|
in_MotionName |
Name of the motion resource to add |
|
* |
ID number of the motion resource added |
|
** |
The motion resource returned |
This method adds a skeleton modifier param to a node.
Parameters:
|
in_pNode |
The node to receive the new skeleton modifier |
|
in_MotionName |
The name of the motion resource to set as active on the new parameters |
|
in_pSkeleton |
The skeleton modifier to link to the new parameters |
This method adds a skeleton modifier to the model resource.
Parameters:
|
in_pMR |
The model resource to add the skeleton modifier to |
|
out_pSkeleton |
The skeleton modifier that was added |
This method creates a new view, adds it to the node palette, and returns the created view.
Parameters:
|
in_pViewName |
The name of the view to add |
|
out_ppView |
The view added to the scene |
This method eliminates duplicate frames from the motion resource.
Parameters:
|
in_MotionResource |
The motion resource to compress |
This method returns the Shockwave 3D core services object.
Parameters:
None
Return Values:
IFXCoreServices *
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current light palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current material palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current model palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current motion palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current node palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
Returns the current scenegraph.
Parameters:
None
Return Values:
IFXSceneGraph *
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current shader palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method returns the current texture palette.
Parameters:
None
Return Values:
IFXPalette*
Comments:
Performs an addref on the pointer returned, so you need to release it when you are finished with it.
This method initializes the object for use. It creates CoreServices and Scenegraph, and grabs pointers to all the palettes.
Parameters:
None
This method Finds the bounding sphere for the world.
Parameters:
|
pWorldBound |
The returned world bounding sphere |
This method Sets the priority on all textures used by the node.
Parameters:
|
pNode |
The node whose textures are to be given the priority |
|
uInPriority |
The priority to set on all textures used by this node |
This method sets the priority on all textures referenced by the style palette.
Parameters:
|
pStylePalette |
The style palette whose textures are to be given the priority |
|
uInPriority |
The priority to set on all textures used by this style palette. Maxmimum priority = 0; higher numbers equal lower priority |
|
uNumShaders |
The number of shaders listed in each style palette entry |
This method sets the priority on all textures referenced by the style palette.
Parameters:
|
pShader |
The shader whose textures are to be given the priority |
|
uInPriority |
The priority to set on all textures used by this shader. Maxmimum priority = 0; higher numbers equal lower priority |
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.