Scenic.Primitive.put_transform

You're seeing just the function put_transform, go back to Scenic.Primitive module for more information.
Link to this function

put_transform(p, tx_type, data)

View Source

Specs

put_transform(primitive :: t(), type :: atom(), transform :: any()) :: t()

Update the value of a specific transform set on the primitive.

Parameters:

  • primitive - The primitive
  • type - atom representing the transform to get.
  • data - the value to set on the transform.

Returns the updated primitive.