public class SliderVec4UC extends AbstractUniformControl implements org.synthclipse.core.uniform.preset.IRangeablePresetValue
GROUP_CAMERA, GROUP_DEFAULT, QUALIFIED_SEPARATOR
Constructor and Description |
---|
SliderVec4UC(String name,
org.synthclipse.core.parser.Control control) |
calculateNameGroupHashCode, equals, getControl, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getProgramName, getQualifiedName, getRepeatDirection, getRepeatMode, isActive, isValid, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, triggerValueChangedEvent, valueChanged
public SliderVec4UC(String name, org.synthclipse.core.parser.Control control)
public ControlType getControlType()
getControlType
in interface IUniformControl
public Class<SliderVec4UC> getControlClass()
getControlClass
in interface IUniformControl
public Vector4f getValue()
public void setValue(Vector4f value)
public void setValue(float x, float y, float z, float w)
public void applyUniformValue()
applyUniformValue
in interface IUniformControl
public void loadAllDefaults()
loadAllDefaults
in interface IUniformControl
public void loadDefaultValue()
loadDefaultValue
in interface org.synthclipse.core.uniform.preset.IPresetValue
public void loadDefaultStepSizeValue()
loadDefaultStepSizeValue
in interface org.synthclipse.core.uniform.preset.IStepablePresetValue
public void loadDefaultMinValue()
loadDefaultMinValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public void loadDefaultMaxValue()
loadDefaultMaxValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public Vector4f getMinValue()
public void setMinValue(Vector4f minValue)
public void setMinValue(float x, float y, float z, float w)
public Vector4f getMaxValue()
public void setMaxValue(Vector4f maxValue)
public void setMaxValue(float x, float y, float z, float w)
public Vector4f getStepSize()
public void setStepSize(Vector4f stepSize)
public Vector4f getDefaultValue()
public void setDefaultValue(Vector4f defaultValue)
public Vector4f getDefaultMinValue()
public void setDefaultMinValue(Vector4f defaultMinValue)
public Vector4f getDefaultMaxValue()
public void setDefaultMaxValue(Vector4f defaultMaxValue)
public Vector4f getDefaultStepSize()
public void setDefaultStepSize(Vector4f defaultStepSize)
public void setUniformValue(Object value)
setUniformValue
in interface IUniformControl
public Object getPresetValue()
org.synthclipse.core.uniform.preset.IPresetValue
getPresetValue
in interface org.synthclipse.core.uniform.preset.IPresetValue
public void setPresetValue(Object value)
org.synthclipse.core.uniform.preset.IPresetValue
setPresetValue
in interface org.synthclipse.core.uniform.preset.IPresetValue
public Object parsePresetValue(String text) throws org.synthclipse.core.parser.ParsingException
org.synthclipse.core.uniform.preset.IPresetValue
text
to a value that is displayed in an editor of the Uniform Control.
(e.g. float, Vector3, String)parsePresetValue
in interface org.synthclipse.core.uniform.preset.IPresetValue
org.synthclipse.core.parser.ParsingException
public Object getStepSizePresetValue()
getStepSizePresetValue
in interface org.synthclipse.core.uniform.preset.IStepablePresetValue
public void setStepSizePresetValue(Object stepSize)
setStepSizePresetValue
in interface org.synthclipse.core.uniform.preset.IStepablePresetValue
public Object getMinPresetValue()
getMinPresetValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public void setMinPresetValue(Object value)
setMinPresetValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public Object getMaxPresetValue()
getMaxPresetValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public void setMaxPresetValue(Object value)
setMaxPresetValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public boolean isRangePresetSavable()
isRangePresetSavable
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public boolean isStepSizePresetSavable()
isStepSizePresetSavable
in interface org.synthclipse.core.uniform.preset.IStepablePresetValue
public Object getStepSizeDefaultPresetValue()
getStepSizeDefaultPresetValue
in interface org.synthclipse.core.uniform.preset.IStepablePresetValue
public Object getPresetDefaultValue()
org.synthclipse.core.uniform.preset.IPresetValue
getPresetDefaultValue
in interface org.synthclipse.core.uniform.preset.IPresetValue
public Object getMinPresetDefaultValue()
getMinPresetDefaultValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue
public Object getMaxPresetDefaultValue()
getMaxPresetDefaultValue
in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue