Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Value type

From Resonite Wiki
Revision as of 02:32, 20 August 2024 by Yosh (talk | contribs) (TODO: finish this, but this information being here is better than a redirect)

A Value Type is a delegation of types within the FrooxEngine Data Model and ProtoFlux. In contrast to Reference Types, fields containing a value type store the value directly, rather than a reference to the value.

For a list of all value types in game, refer to

In FrooxEngine

It's simple to tell whether a certain type is a value type or not within FrooxEngine. In the Scene Inspector, fields holding a value type are easily identifiable by the ability to directly edit the value within them, rather than needing to drag in a reference to the type. A ValueField component is able to hold any value type, which can be used as a quick reference to tell what is what.

In ProtoFlux

Things get a bit trickier in ProtoFlux, as value types are contrasted with Object Types, which are more generally defined than reference types.