Contents

SushiEngine::Simulation::MaterialOverrides

find

const MaterialOverride * find(const char *key) const noexcept

Parameters

NameTypeDescription
keyconst char *

A field descriptor's key.

Returns

const MaterialOverride *

The entry, or nullptr when the field is not overridden. Invalidated by the next set or remove, like any vector reference.

Description

Finds the override for key.