class Opal::Input::DSL::ActionBuilder

Overview

Contextual builder for a single InputAction inside an InputRemapBuilder or CategoryBuilder.

Defined in:

opal/input/dsl/remap_builder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(action : Core::InputAction) #

[View source]

Instance Method Detail

def action : Core::InputAction #

[View source]
def category(value : String) : self #

[View source]
def deadzone(value : Float32 | Float64) : self #

[View source]
def description(value : String) : self #

[View source]
def label(value : String) : self #

[View source]
def locked(value : Bool = true) : self #

[View source]
def primary(binding : Core::InputBinding | String) : self #

[View source]
def secondary(binding : Core::InputBinding | String) : self #

[View source]
def slot(index : Int32, binding : Core::InputBinding | String) : self #

[View source]