Struct hapi_rs::parameter::IntParameter
source · pub struct IntParameter(_);
Expand description
Represents integer parameters, including Button
type
Implementations§
source§impl IntParameter
impl IntParameter
Emulates a button press action
Trait Implementations§
source§impl Debug for IntParameter
impl Debug for IntParameter
source§impl ParmBaseTrait for IntParameter
impl ParmBaseTrait for IntParameter
fn name(&self) -> Result<Cow<'_, str>>
fn session(&self) -> &Session
fn node(&self) -> NodeHandle
fn size(&self) -> i32
fn info(&self) -> &ParmInfo
source§fn update(&mut self) -> Result<()>
fn update(&mut self) -> Result<()>
Update the internal parameter metadata if Houdini parameter changed,
for example children added to a multi-parm or the menu was updated.
If the parameter has choice menu.
If parameter is a menu type, return a vec of menu items
source§fn multiparm_children(&self) -> Result<Option<Vec<Parameter>>>
fn multiparm_children(&self) -> Result<Option<Vec<Parameter>>>
If the parameter is a multiparm, return its children parms.
NOTE: THis is not a recommended way to traverse parameters in general,
this is here for convenience only
source§fn expression(&self, index: i32) -> Result<Option<String>>
fn expression(&self, index: i32) -> Result<Option<String>>
Returns a parameter expression string