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.

Location

Namespace
Fuse
Package
Fuse.Marshal 1.11.2

Parameters

o

object

value

float4

the result value

Returns

bool

true if converted successfully, false if no suitable conversion exists. null cannot be converted and will return false;