This page contains documentation for advanced Fuse features, so we have taken the liberty to tick the "Show advanced things" checkbox above for you in advance to be able to provide you with some additional information.


Fuse.Marshal 1.11.2

Interface of Marshal

ToType<T>(object) : T uno

Be aware this function may throw a NullReferenceException if the type cannot be converted to the desired one. It is advised to use TryToType or TryConvertTo instead.

TryToColorFloat4(object, float4) : bool uno

Converts a float3, float4 or equivalently convertible type to a float4. This uses color conversion rules: it sets the alpha component to 1 if not specified.