optimizeByPruningTinyGraphics
Syntax
<Path>.optimizeByPruningTinyGraphics(BoundingCubeSideLength:length) |
The method optimizeByPruningTinyGraphics optimizes the graphic designated by <Path> by pruning its tiny graphics, i. e., it removes all component graphics which individually fit within the cube designated by the argument.
Note:
The method deactivates graphic inheritance.
Note:
You cannot assign the method when the graphic is an automatically generated graphic group or when the graphic is located in an automatically generated graphic group.
Parameter
The parameter BoundingCubeSizeLength is an array with a single value of data type real. It designates the size of the bounding box.
Example
.Models.Frame._3D.getGraphic("deco",[1]).optimizeByPruningTinyGraphics(0.001) |
Related Topics
Related Topics
Detailed Access To GraphicsaddGraphicTransformation
deleteGraphic
graphic
groupGraphics
Index
InternalGraphicType
makeAnimatableObject
MaterialActive
MaterialAmbientColor
MaterialDiffuseColor
MaterialEmissiveColor
MaterialShininess
MaterialSpecularColor
MaterialTransparency
Name
NumGraphics
ObstacleForWorker
optimizeByStructureFlattening
optimizeByVisibilityFilter
Position
Rotation
Scale
TransformationMatrix
ungroupGraphic