Constructors
Fields
Properties
ExpirationFactor
#Gets a normalised factor for the expiration transition. Zero means expiration has not started yet, One means expiration has fully completed, any value in between indicates a partial transition.
Methods
Create
#public static DisplayCache Create(IDocumentObject obj, SolutionId solution, BoundingBox clipping, DisplayPointSet points = null, DisplayVector[] vectors = null, DisplayPlane[] planes = null, DisplayCurve[] curves = null, DisplayText[] texts = null, DisplayMesh[] meshes = null, DisplayWidget[] widgets = null)
Parameters:
| obj (IDocumentObject) | |
| solution (SolutionId) | |
| clipping (BoundingBox) | |
| points (DisplayPointSet = null) | |
| vectors (DisplayVector[] = null) | |
| planes (DisplayPlane[] = null) | |
| curves (DisplayCurve[] = null) | |
| texts (DisplayText[] = null) | |
| meshes (DisplayMesh[] = null) | |
| widgets (DisplayWidget[] = null) |
Dispose
#public void Dispose()
DrawFaces
#Method called when the face shapes need to be drawn in the viewport. Faces include shaded meshes, surfaces, breps, Sub-Ds, and so on.
Parameters:
| pipeline (DisplayPipeline) | |
| guises (Guises) |
DrawWires
#Method called when the wire shapes need to be drawn in the viewport. Wires include point symbols, curves, edges, texts, and so on.
Parameters:
| pipeline (DisplayPipeline) | |
| guises (Guises) |
Expire
#public void Expire()
Expire this cache of display data. Typically you do not need to call this method. This cache will be automatically expired along with the IDocumentObject associated with it.