MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ expose_scale()

template<typename Source, typename Access>
void MayaFlux::Portal::Forma::expose_scale ( FactoryTable< Source, Access > & table,
std::string name )

Register scale_form under a name.

The factory element needs points. The instance needs a rect. The initial state is the element's value member.

Definition at line 34 of file DragGeometry.hpp.

35{
37 input.required("points");
38
39 table.template expose_typed<float>(std::move(name),
42}
RecordBinding & required(std::string name)
Bind described attributes and configured child collections of a source element.
std::optional< Geometry::Form< float > > scale_form(const ScaleInputs &input, const RectPlacementInputs &placement, std::string &error)
A float state Form: an outline scaled along one axis by the state.
Reflect::RecordBinding< RectPlacementInputs, Source, Access > rect_placement_binding()
A binding for RectPlacementInputs that requires rect.

References rect_placement_binding(), MayaFlux::Reflect::RecordBinding< Input, Source, Access >::required(), scale_form(), and MayaFlux::Portal::Forma::ScaleInputs::value.

Here is the call graph for this function: