Epok Engine

EPOK RUNTIME

epok::CollisionWorld::has_trigger_pairs

Method · 1 overload

Method

Reports whether trigger pairs as part of bounded AABB collision queries and movement.

Belongs to
epok::CollisionWorld
Header
collision.hpp
Overloads
1

Declaration

const
Declaration
bool has_trigger_pairs() const

Reports whether trigger pairs as part of bounded AABB collision queries and movement.

This overload takes no parameters.

Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "collision.hpp"

epok::CollisionWorld& object = /* obtain a valid instance */;

auto result = object.has_trigger_pairs();

Why use it

The method is `const`, so it does not mutate the object through this API surface. The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/collision.hpp:166

Related members