wasmReadFrom method
Implementation
@override
void wasmReadFrom(WasmReader reader) {
type = .fromValue(reader.Int32());
enabled = reader.Int32() != 0;
reader.struct(position);
reader.struct(target);
reader.struct(color);
attenuation = reader.Float32();
enabledLoc = reader.Int32();
typeLoc = reader.Int32();
positionLoc = reader.Int32();
targetLoc = reader.Int32();
colorLoc = reader.Int32();
attenuationLoc = reader.Int32();
}