SoSFImage3StartEditing Method |
These methods can be used to efficiently edit the values in an image field.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic SbNativeArray<byte> StartEditing(
out SbVec3s size,
out int nc
)
Public Function StartEditing (
<OutAttribute> ByRef size As SbVec3s,
<OutAttribute> ByRef nc As Integer
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ StartEditing(
[OutAttribute] SbVec3s% size,
[OutAttribute] int% nc
)
member StartEditing :
size : SbVec3s byref *
nc : int byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.InventorSbVec3s
- nc
- Type: SystemInt32
Return Value
Type:
SbNativeArrayByte
RemarksstartEditing() returns the size of the image in the size and nc arguments; writing past the end of the array returned is a good way to cause hard-to-find core dumps.
Avoid copying the values in/out, if you are just changing the bytes and not changing the dimensions of the image.Using startEditing() allows subtexturing, which is a more efficient way of doing texture modification.
See Also