Click or drag to resize

SnapShotsClientPrepareForObjectAnimation Method

Called once at the start of an animation.

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

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.

Return Value

Type: Boolean
true if successful, otherwise false.
See Also