PreviewShapeReferences Crystal public abstract class PreviewShape Show allBase class for various shapes used in material previews. AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsPreviewShape#Constructor.protected PreviewShape( BoundingBoxboundsBounds of shape.)PreviewShape#Deserialisation constructor.protected PreviewShape( IReaderreader)PropertiesBounds#Gets the bounding box for this shape.public BoundingBox Bounds { get; }MethodsCreateAngleTransform#Set up a transformation from a set of angles and a target.public Transform CreateAngleTransform( doubleangleXy, doubleangleYz, doubleperspective, CircleFtarget)CreateCameraTransform#Set up a transformation from a camera location and display radius.public Transform CreateCameraTransform( Point3dcamera, doubleradius)Store#This method is called whenever the instance is required to serialize itself.public virtual void Store( IWriterwriterWriter object to serialize with.)