Click or drag to resize
SoSFArray2DStartEditing Method (SbVec2i32, SoSFArrayDataTypes)

Returns a pointer to the internally maintained array that can be modified.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SbNativeArray<byte> StartEditing(
	out SbVec2i32 size,
	out SoSFArrayDataTypes dataType
)

Parameters

size
Type: OIV.InventorSbVec2i32
dataType
Type: OIV.Inventor.FieldsSoSFArrayDataTypes

Return Value

Type: SbNativeArrayByte
Remarks

The values in the array may be changed, but values cannot be added or removed. It is illegal to call any other editing methods between OIV.Inventor.Fields.SoSFArray2D.StartEditing(OIV.Inventor.SbVec2s@, OIV.Inventor.Fields.SoSFArray.DataTypes@) and OIV.Inventor.Fields.SoSFArray.FinishEditing() (e.g. OIV.Inventor.Fields.SoSFArray2D.SetValue(OIV.Inventor.SbVec2s, OIV.Inventor.Fields.SoSFArray.DataTypes, OIV.Inventor.Generic.SbNativeArray{{System.Byte}}, OIV.Inventor.Fields.SoSFArray.CopyPolicies), etc.). Fields, engines or sensors connected to this field are not triggered until OIV.Inventor.Fields.SoSFArray.FinishEditing() is called. Calling OIV.Inventor.Fields.SoSFArray.FinishEditing() always sets the OIV.Inventor.Fields.SoField.IsDefault() flag to false and informs engines and sensors that the field changed, even if none of the values actually were changed.

See Also