Header menu logo Nu

AttributesInferred Type

The attributes of an entity that are used to infer its bounds. There are three general use cases for inferred attributes - 1) things with a definite, asset-based size like sprites and models. 2) things with a size that is only sensibly defined by users like emitters and effects. 3) things where size won't matter in any case like sky boxes and configuration stand-ins. TODO: see if we can refactor this type to make its representation and algo more understandable.

Record fields

Record Field Description

OffsetInferred

Full Usage: OffsetInferred

Field type: Vector3
Field type: Vector3

SizeInferred

Full Usage: SizeInferred

Field type: Vector3
Field type: Vector3

Unimportant

Full Usage: Unimportant

Field type: bool
Field type: bool

Static members

Static member Description

AttributesInferred.choose left right

Full Usage: AttributesInferred.choose left right

Parameters:
Returns: AttributesInferred
left : AttributesInferred
right : AttributesInferred
Returns: AttributesInferred

AttributesInferred.important size offset

Full Usage: AttributesInferred.important size offset

Parameters:
Returns: AttributesInferred
size : Vector3
offset : Vector3
Returns: AttributesInferred

AttributesInferred.unimportant

Full Usage: AttributesInferred.unimportant

Returns: AttributesInferred
Returns: AttributesInferred

Type something to start searching.