Scenic.Primitive.get_transform

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

get_transform(primitive, tx_type, default \\ nil)

View Source

Specs

get_transform(primitive :: t(), type :: atom(), default :: any()) :: any()

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

If the transform is not set, it returns default

Parameters:

  • primitive - The primitive
  • type - atom representing the transform to get.
  • default - default value to return if the transform is not set.

Returns the value of the transform.