Click or drag to resize
SoMFUniformShaderParameterStartEditing Method

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

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoUniformShaderParameter[] StartEditing()

Return Value

Type: SoUniformShaderParameter
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.SoMFUniformShaderParameter.StartEditing() and OIV.Inventor.Fields.SoMFUniformShaderParameter.FinishEditing() (e.g. (), OIV.Inventor.Fields.SoMFUniformShaderParameter.SetValue(OIV.Inventor.Nodes.SoUniformShaderParameter), etc.).

Fields, engines or sensors connected to this field and sensors are not notified that this field has changed until OIV.Inventor.Fields.SoMFUniformShaderParameter.FinishEditing() is called. Calling OIV.Inventor.Fields.SoMFUniformShaderParameter.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