Module collision_object_2d

Procs

proc inputPickable*(self: CollisionObject2D): bool {.
gcsafe, locks: 0
.}
proc `inputPickable =`*(self: CollisionObject2D; val: bool) {.
gcsafe, locks: 0
.}
proc getRid*(self: CollisionObject2D): RID {.
gcsafe, locks: 0
.}
proc createShapeOwner*(self: CollisionObject2D; owner: Object): int64 {.
gcsafe, locks: 0
.}
proc removeShapeOwner*(self: CollisionObject2D; ownerId: int64) {.
gcsafe, locks: 0
.}
proc getShapeOwners*(self: CollisionObject2D): Array {.
gcsafe, locks: 0
.}
proc shapeOwnerSetTransform*(self: CollisionObject2D; ownerId: int64;
                            transform: Transform2D) {.
gcsafe, locks: 0
.}
proc shapeOwnerGetTransform*(self: CollisionObject2D; ownerId: int64): Transform2D {.
gcsafe, locks: 0
.}
proc shapeOwnerGetOwner*(self: CollisionObject2D; ownerId: int64): Object {.
gcsafe, locks: 0
.}
proc shapeOwnerSetDisabled*(self: CollisionObject2D; ownerId: int64; disabled: bool) {.
gcsafe, locks: 0
.}
proc isShapeOwnerDisabled*(self: CollisionObject2D; ownerId: int64): bool {.
gcsafe, locks: 0
.}
proc shapeOwnerSetOneWayCollision*(self: CollisionObject2D; ownerId: int64;
                                  enable: bool) {.
gcsafe, locks: 0
.}
proc isShapeOwnerOneWayCollisionEnabled*(self: CollisionObject2D; ownerId: int64): bool {.
gcsafe, locks: 0
.}
proc shapeOwnerAddShape*(self: CollisionObject2D; ownerId: int64; shape: Shape2D) {.
gcsafe, locks: 0
.}
proc shapeOwnerGetShapeCount*(self: CollisionObject2D; ownerId: int64): int64 {.
gcsafe, locks: 0
.}
proc shapeOwnerGetShape*(self: CollisionObject2D; ownerId: int64; shapeId: int64): Shape2D {.
gcsafe, locks: 0
.}
proc shapeOwnerGetShapeIndex*(self: CollisionObject2D; ownerId: int64; shapeId: int64): int64 {.
gcsafe, locks: 0
.}
proc shapeOwnerRemoveShape*(self: CollisionObject2D; ownerId: int64; shapeId: int64) {.
gcsafe, locks: 0
.}
proc shapeOwnerClearShapes*(self: CollisionObject2D; ownerId: int64) {.
gcsafe, locks: 0
.}
proc shapeFindOwner*(self: CollisionObject2D; shapeIndex: int64): int64 {.
gcsafe, locks: 0
.}

Methods

method inputEvent*(self: CollisionObject2D; viewport: Object; event: InputEvent;
                  shapeIdx: int64) {.
gcsafe, locks: 0, base
.}