PreviewShapeReferences Crystal public abstract class PreviewShape Show allBase class for various shapes used in material previews. AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsPreviewShape#protected PreviewShape(BoundingBox bounds)Constructor.Parameters:bounds (BoundingBox)Bounds of shape.PreviewShape#protected PreviewShape(IReader reader)Deserialisation constructor.Parameters:reader (IReader)PropertiesBounds#public BoundingBox Bounds { get; }Gets the bounding box for this shape.MethodsCreateAngleTransform#public Transform CreateAngleTransform(double angleXy, double angleYz, double perspective, CircleF target)Set up a transformation from a set of angles and a target.Parameters:angleXy (double)angleYz (double)perspective (double)target (CircleF)CreateCameraTransform#public Transform CreateCameraTransform(Point3d camera, double radius)Set up a transformation from a camera location and display radius.Parameters:camera (Point3d)radius (double)Store#public virtual void Store(IWriter writer)This method is called whenever the instance is required to serialize itself.Parameters:writer (IWriter)Writer object to serialize with.