Skip to main content

set_property

Function set_property 

Source
pub fn set_property(
    fixture_name: String,
    property: PropertyType,
    value: ChannelValue,
) -> Result<(), FixtureError>
Expand description

Updates a specific property value on an active fixture.

§Arguments

  • fixture_name - Name of the target fixture
  • property - Property type to update
  • value - New raw channel value

§Errors

  • [InvalidFixture] – if the fixture is not found
  • MissingProperty – if the fixture lacks the specified property