setAllowTransformation method
- bool allowTransformation
Enable or disable interactions that transform the GeometryEditor.geometry, for example InteractionConfiguration.allowMovingSelectedElement.
Sets the following properties:
- InteractionConfiguration.allowMovingSelectedElement
- InteractionConfiguration.allowRotatingSelectedElement
- InteractionConfiguration.allowScalingSelectedElement
Creation, deletion and selection properties are unaltered.
Parameters:
allowTransformation
— Indicates if transformation is allowed.
Implementation
void setAllowTransformation(
bool allowTransformation,
) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_InteractionConfiguration_setAllowTransformation(
_handle,
allowTransformation,
errorHandler,
);
});
}