Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region) Generated from class MR.PartialChangeMeshAction. Base classes: Direct: (non-virtual) MR.HistoryAction This is the const half of the class.
More...
Inheritance diagram for MR.Const_PartialChangeMeshAction:Classes | |
| struct | _Underlying |
| struct | _UnderlyingShared |
Public Member Functions | |
| virtual void | Dispose () |
| unsafe | Const_PartialChangeMeshAction (MR._ByValue_PartialChangeMeshAction _other) |
Generated from constructor MR.PartialChangeMeshAction.PartialChangeMeshAction. | |
| unsafe | Const_PartialChangeMeshAction (string name, MR._ByValueShared_ObjectMesh obj, MR.Const_CmpOld _3, MR.Const_Mesh oldMesh) |
use this constructor after the object already contains new mesh, and old mesh is passed to remember the difference for future undoing Generated from constructor MR.PartialChangeMeshAction.PartialChangeMeshAction. | |
| unsafe | Const_PartialChangeMeshAction (string name, MR._ByValueShared_ObjectMesh obj, MR.Const_SetNew _3, MR.Misc._Moved< MR.Mesh > newMesh) |
use this constructor to set new object's mesh and remember its difference from existed mesh for future undoing Generated from constructor MR.PartialChangeMeshAction.PartialChangeMeshAction. | |
| unsafe MR.Std.String | name () |
Generated from method MR.PartialChangeMeshAction.name. | |
| unsafe ulong | heapBytes () |
Generated from method MR.PartialChangeMeshAction.heapBytes. | |
Static Public Member Functions | |
| static unsafe implicit | operator MR.Const_HistoryAction (Const_PartialChangeMeshAction self) |
| static unsafe | operator Const_PartialChangeMeshAction? (MR.Const_HistoryAction parent) |
Protected Member Functions | |
| unsafe void | _LateMakeShared (_Underlying *ptr) |
| virtual unsafe void | Dispose (bool disposing) |
Properties | |
| override unsafe bool | _IsOwning [get] |
| Check if the underlying shared pointer is owning or not. | |
Properties inherited from MR.Misc.SharedObject< Const_PartialChangeMeshAction > | |
| override bool | _IsOwning [get] |
This checks if the shared_ptr itself is owning or not, rather than whether we own our shared_ptr, which isn't a given. The derived classes have to implement this, since it depends on the specific shared_ptr type. | |
| bool | _IsOwningSharedPtr [get] |
This checks if we own the underlying shared_ptr instance, regardless of whether it owns the underlying object, which is orthogonal. We repurpose _IsOwningVal for this. | |
Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region) Generated from class MR.PartialChangeMeshAction. Base classes: Direct: (non-virtual) MR.HistoryAction This is the const half of the class.