read static method
Implementation
static ActorMask read(
ActorArtboard artboard, StreamReader reader, ActorMask component) {
ActorLayerEffect.read(artboard, reader, component);
component._sourceIdx = reader.readId('source');
component._maskType =
maskTypeLookup[reader.readUint8('maskType')] ?? MaskType.alpha;
return component;
}