SoVolumeDataEditTile Method (SoLDMTileID, SoBufferObject) |
Replaces the contents of a tile with the given data.
Namespace: OIV.VolumeViz.NodesAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public override int EditTile(
SoLDMTileID tileId,
SoBufferObject userData
)
Public Overrides Function EditTile (
tileId As SoLDMTileID,
userData As SoBufferObject
) As Integer
public:
virtual int EditTile(
SoLDMTileID tileId,
SoBufferObject^ userData
) override
abstract EditTile :
tileId : SoLDMTileID *
userData : SoBufferObject -> int
override EditTile :
tileId : SoLDMTileID *
userData : SoBufferObject -> int
Parameters
- tileId
- Type: OIV.LDMSoLDMTileID
- userData
- Type: OIV.Inventor.DevicesSoBufferObject
Return Value
Type:
Int32Remarks
The buffer size (in bytes) must match the tile size (in bytes) exactly. Call OIV.VolumeViz.Nodes.SoVolumeData.StartEditing(System.Int32@) before calling this method. Returns 0 if successful.
Caution |
---|
The modification may be postponed until the tile is really needed. Therefore the contents of the userData buffer must not be modified until after () is called. |
See Also