class

Rosegold::DataComponents::CustomModelData

Inherits Rosegold::DataComponent / Reference / Object

CustomModelData - four prefixed arrays: floats, booleans, strings, colors (Int).

Constructors

new(floats : Array(Float32) = [] of Float32, booleans : Array(Bool) = [] of Bool, strings : Array(String) = [] of String, colors : Array(Int32) = [] of Int32)
Source
read(io) : self
Source

Instance methods

booleans
Source
booleans=(booleans : Array(Bool))
Source
colors
Source
colors=(colors : Array(Int32))
Source
floats
Source
floats=(floats : Array(Float32))
Source
strings
Source
strings=(strings : Array(String))
Source
write(io) : Nil
Source