M_Rhino_Geometry_Mesh_GetUnsafeLock - mcneel/rhinocommon-api-docs GitHub Wiki
Allows to obtain unsafe pointers to the underlying unmanaged data structures of the mesh.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public MeshUnsafeLock GetUnsafeLock(
bool writable
)
VB
Public Function GetUnsafeLock (
writable As Boolean
) As MeshUnsafeLock
- writable
- Type: System.Boolean
true if user will need to write onto the structure. false otherwise.
Type: MeshUnsafeLock
A lock that needs to be released.
The lock implements the IDisposable interface, and one call of its Dispose() or ReleaseUnsafeLock(MeshUnsafeLock) will update the data structure as required. This can be achieved with a using statement (Using in Vb.Net).
Supported in: 6.0.16224.21491