UnknownUserData Class |
Namespace: Rhino.DocObjects.Custom
The UnknownUserData type exposes the following members.
Name | Description | |
---|---|---|
UnknownUserData |
Constructs a new unknown data entity.
|
Name | Description | |
---|---|---|
Description | Descriptive name of the user data. (Inherited from UserData.) | |
ShouldWrite |
If you want to save this user data in a 3dm file, override
ShouldWrite and return true. If you do support serialization,
you must also override the Read and Write functions.
(Inherited from UserData.) | |
Transform |
Updated if user data is attached to a piece of geometry that is
transformed and the virtual OnTransform() is not overridden. If you
override OnTransform() and want Transform to be updated, then call the
base class OnTransform() in your override.
The default constructor sets Transform to the identity.
(Inherited from UserData.) |
Name | Description | |
---|---|---|
Dispose |
Actively reclaims unmanaged resources that this instance uses.
(Inherited from UserData.) | |
Dispose(Boolean) |
For derived class implementers.
(Inherited from UserData.)This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method. You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true. Also, you must call the base virtual method within your overriding method. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Inherited from UserData.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDuplicate |
Is called when the object is being duplicated.
(Inherited from UserData.) | |
OnTransform |
Is called when the object associated with this data is transformed. If you override this
function, make sure to call the base class if you want the stored Transform to be updated.
(Inherited from UserData.) | |
Read | Reads the content of this data from a stream archive. (Inherited from UserData.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write | Writes the content of this data to a stream archive. (Inherited from UserData.) |