Header menu logo Nu

EntityDescriptor Type

Describes an entity value independent of the engine. Used to directly serialize an entity.

Record fields

Record Field Description

EntityDescriptors

Full Usage: EntityDescriptors

Field type: EntityDescriptor list
Field type: EntityDescriptor list

EntityDispatcherName

Full Usage: EntityDispatcherName

Field type: string
Field type: string

EntityProperties

Full Usage: EntityProperties

Field type: Map<string, Symbol>
Field type: Map<string, Symbol>

Static members

Static member Description

EntityDescriptor.empty

Full Usage: EntityDescriptor.empty

Returns: EntityDescriptor

The empty entity descriptor.

Returns: EntityDescriptor

EntityDescriptor.getNameOpt descriptor

Full Usage: EntityDescriptor.getNameOpt descriptor

Parameters:
Returns: string option

Derive a name from the descriptor.

descriptor : EntityDescriptor
Returns: string option

EntityDescriptor.setNameOpt nameOpt descriptor

Full Usage: EntityDescriptor.setNameOpt nameOpt descriptor

Parameters:
Returns: EntityDescriptor

Set a name for the descriptor.

nameOpt : 'a option
descriptor : EntityDescriptor
Returns: EntityDescriptor

Type something to start searching.