any_var_derived

Function any_var_derived 

Source
pub fn any_var_derived(initial_value: BoxAnyVarValue, source: &AnyVar) -> AnyVar
Expand description

New read/write shared reference type-erased variable that has initial value derived from source.

This function is useful for creating custom mapping outputs, the new variable starts with the same AnyVar::last_update and animation handle as the source.