| Description: Implements support for B3d Brush animations exported from 3dsMax. Animated brushes are exported as a textured node: B3DEXT_ANIMBRUSH that has child nodes that control Color, Alpha, and Shininess animation. |
| EXT_Surface |
| Description: A simple type used to collect surfaces |
| Field description: surface = surface handle nextSurface.EXT_Surface = next in linked list |
| EXT_InitAnimBrush(ext.EXT_Entity,node) |
| Description: Makes a new EXT_AnimBrush controller, and inserts it into the list of animated brush controllers owned by the EXT_Entity |
| Parameters: ext.EXT_Entity = owner node = root node of animated brush controllers |
| Return value: None |
| EXT_FindAllBrushSurfaces(node,animBrush.EXT_AnimBrush) |
| Description: This is a recursive function, that scans a hierarchy and records all surfaces that use the specified brush. |
| Parameters: node = current node to examine animBrush.EXT_AnimBrush = the EXT_AnimBrush used to record the surfaces |
| Return value: None |
| EXT_UpdateAnimBrushes(ext.EXT_Entity) |
| Description: Updates all EXT_AnimBrush controllers owned by an EXT_Entity |
| Parameters: ext.EXT_Entity = owner |
| Return value: None |
| EXT_NumAnimBrushes(ext.EXT_Entity) |
| Description: Counts the number of EXT_AnimBrush controllers owned by an EXT_Entity |
| Parameters: ext.EXT_Entity = owner |
| Return value: number of EXT_AnimBrush controllers |
| EXT_DeleteAnimBrushes(ext.EXT_Entity) |
| Description: Deletes all EXT_AnimBrush controllers owned by an EXT_Entity |
| Parameters: ext.EXT_Entity = owner |
| Return value: None |
| EXT_DeleteAllAnimBrushes() |
| Description: Deletes all EXT_AnimBrush controllers |
| Return value: None |
on 17 Feb 2004.