getOffset method

Float32List getOffset()

For each of the 4 vertices, a pair of x,y values that is the local position of the vertex.

See updateRegion.

Implementation

Float32List getOffset() {
  final num = _bindings.spine_region_attachment_get_num_offset(_attachment);
  final offset = _bindings.spine_region_attachment_get_offset(_attachment);
  return offset.asTypedList(num);
}