Epok Engine

EPOK RUNTIME

epok::bp::interpolate

Function · 1 overload

Function

Performs `interpolate` as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp
Header
blueprint_runtime.hpp
Overloads
1

Declaration

Declaration
inline Fixed interpolate(Fixed a, Fixed b, Fixed alpha)

Performs `interpolate` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
aFixedValue supplied for a. Keep referenced or pointed-to data valid for the complete call.
bFixedValue supplied for b. Keep referenced or pointed-to data valid for the complete call.
alphaFixedValue supplied for alpha. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "blueprint_runtime.hpp"

// Assume these named values have been initialized with valid data:
// Fixed a
// Fixed b
// Fixed alpha

auto result = epok::bp::interpolate(a, b, alpha);

Why use it

It provides direct, allocation-conscious access to compiled Blueprint execution and object interaction. No exception-based error path is implied by the signature.

Trade-offs and warnings

This is classified as **Engine internal**. Prefer a higher-level Epok service unless you need this exact control.

Declared in runtime/blueprint_runtime.hpp:38

Related members