Epok Engine

EPOK RUNTIME

epok::bp::api::set_scale

Function · 1 overload

Function

Sets scale as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp::api
Header
blueprint_api.hpp
Overloads
1

Declaration

Declaration
inline void set_scale(ObjectId target,const Vector<3>& value)

Sets scale as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
targetObjectIdValue supplied for target. Keep referenced or pointed-to data valid for the complete call.
valueconst Vector<3> &Value supplied for value. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "blueprint_api.hpp"

// Assume these named values have been initialized with valid data:
// ObjectId target
// const Vector<3> & value

epok::bp::api::set_scale(target, value);

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

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/blueprint_api.hpp:45

Related members