|
[1 introduction] [2 overview] [3 reference] [4 GUI] IndexE3dNodeHrc_NearestCommonAncestor E3dNodeHrc_BranchCopy E3dNodeHrc_Map2DTextures E3dNodeHrc_FreezeRotation E3dNodeHrc_FreezeScaling E3dNodeHrc_ReplaceTexturePaths E3dNodeHrc_NearestCommonAncestorFind nearest common ancestor of a list of NodesSyntax Arguments Description Searches for the nearest common ancestor of the given list of Nodes. Return value The nearest common ancestor, or NULL if none was found. E3dNodeHrc_BranchCopyDuplicate branchSyntax Arguments Description Creates a duplicate of the given branch or tree of Nodes. The PScene parameter is used to generate unique names for the new Nodes and Objects, and for calling change callbacks registered in PScene. When NULL is passed for PScene, the names will simply be duplicated as well. Return value The root Node of the duplicate. E3dNodeHrc_Map2DTextures(Re)Map Textures of Node hierarchySyntax Argument Description This function parses through the given hierarchy and recomputes the Texture coordinates (S and T) based on the mapping-method and parameters. Return value None. E3dNodeHrc_FreezeRotationFreeze rotation on a hierarchy or a branch (sub-tree of a hierarchy)Syntax Argument Description This function performs the rotation on the Geometries of each node in the given hierarchy or branch, then sets the rotation values to 0.0. Return value None. E3dNodeHrc_FreezeScalingFreeze scaling on a hierarchy or a branch (sub-tree of a hierarchy)Syntax Argument Description This function performs the scaling on the Geometries of each node in the given hierarchy or branch, then sets the scaling values to 1.0. Return value None. E3dNodeHrc_ReplaceTexturePathsOverride the texture (file) paths of Materials in a hierarchySyntax Arguments Description Replaces the file path for all Textures in all Materials, used by the Geometries that are instantiated in the given hierarchy. This is useful when you have a Scene with Texture images used from several locations, but you want to consolidate them into a single folder. For example, if you want to create a single package (for zip, tar etc.). The file names will be unaffected. For example, if PTexturePath is "localtextures", "/home/myname/mytexures/wood/plank.jpg" will be replaced with localtextures/plank.jpg. Return value The number of Geometries affected. |