Header menu logo Nu

GroupDispatcher<'model, 'message, 'command> Type

The MMCC dispatcher for groups.

Constructors

Constructor Description

GroupDispatcher(initial)

Full Usage: GroupDispatcher(initial)

Parameters:
    initial : 'model

Returns: GroupDispatcher<'model, 'message, 'command>
initial : 'model
Returns: GroupDispatcher<'model, 'message, 'command>

GroupDispatcher(makeInitial)

Full Usage: GroupDispatcher(makeInitial)

Parameters:
    makeInitial : World -> 'model

Returns: GroupDispatcher<'model, 'message, 'command>
makeInitial : World -> 'model
Returns: GroupDispatcher<'model, 'message, 'command>

Instance members

Instance member Description

this.Command

Full Usage: this.Command

Parameters:
    model : 'model
    command : 'command
    group : Group
    world : World

Modifiers: abstract

The command handler of the MMCC programming model.

model : 'model
command : 'command
group : Group
world : World

this.Content

Full Usage: this.Content

Parameters:
    model : 'model
    group : Group

Returns: EntityContent list
Modifiers: abstract

The content specifier of the MMCC programming model.

model : 'model
group : Group
Returns: EntityContent list

this.Definitions

Full Usage: this.Definitions

Parameters:
    model : 'model
    group : Group

Returns: DefinitionContent<Group> list
Modifiers: abstract

The group's own MMCC definitions.

model : 'model
group : Group
Returns: DefinitionContent<Group> list

this.Edit

Full Usage: this.Edit

Parameters:
Returns: Signal list * 'model
Modifiers: abstract

Implements additional editing behavior for a group via the ImGui API.

model : 'model
op : EditOperation
group : Group
world : World
Returns: Signal list * 'model

this.GetFallbackModel

Full Usage: this.GetFallbackModel

Parameters:
Returns: 'model
Modifiers: abstract

The fallback model value.

arg0 : Symbol
arg1 : Group
arg2 : World
Returns: 'model

this.GetModel

Full Usage: this.GetModel

Parameters:
Returns: 'model

Get the group's model.

group : Group
world : World
Returns: 'model

this.Message

Full Usage: this.Message

Parameters:
    model : 'model
    message : 'message
    group : Group
    world : World

Returns: Signal list * 'model
Modifiers: abstract

The message handler of the MMCC programming model.

model : 'model
message : 'message
group : Group
world : World
Returns: Signal list * 'model

this.Model

Full Usage: this.Model

Parameters:
Returns: Lens<'model, Group>

The group's model lens.

group : Group
Returns: Lens<'model, Group>

this.Render

Full Usage: this.Render

Parameters:
Modifiers: abstract

Render the group using the given model.

model : 'model
renderPass : RenderPass
group : Group
world : World

this.SetModel

Full Usage: this.SetModel

Parameters:

Set the group's model.

model : 'model
group : Group
world : World

this.TruncateModel

Full Usage: this.TruncateModel

Parameters:
    model : 'model

Returns: 'model
Modifiers: abstract

Truncate the given model.

model : 'model
Returns: 'model

this.UntruncateModel

Full Usage: this.UntruncateModel

Parameters:
    current : 'model
    incoming : 'model

Returns: 'model
Modifiers: abstract

Untruncate the given model.

current : 'model
incoming : 'model
Returns: 'model

Type something to start searching.