Click or drag to resize

SnapShotsClientExtendBoundingBoxForObjectAnimation Method

Called once at the start of an animation. This can be used to extend the scene bounding box to avoid clipping.

Namespace:  Rhino.DocObjects.SnapShots
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public abstract void ExtendBoundingBoxForObjectAnimation(
	RhinoDoc doc,
	RhinoObject doc_object,
	ref Transform transform,
	BinaryArchiveReader archive_start,
	BinaryArchiveReader archive_stop,
	ref BoundingBox bbox
)

Parameters

doc
Type: RhinoRhinoDoc
doc is the current document.
doc_object
Type: Rhino.DocObjectsRhinoObject
doc_obj is the current object.
transform
Type: Rhino.GeometryTransform
transform is a transformation matrix. The matrix is set to identity the first time an object is associated with a snapshot. After that the matrix is updated when the object is transformed(scale, rotate etc.).
archive_start
Type: Rhino.FileIOBinaryArchiveReader
archive_start is a archive to the data of the starting position.
archive_stop
Type: Rhino.FileIOBinaryArchiveReader
archive_stop is a archive to the data of the ending position.
bbox
Type: Rhino.GeometryBoundingBox
bbox is the current scene bounding box.
See Also