Module collision_object_2d

Procs

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

Methods

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