Skip to content

Engine → Core → json_conversion.h

json::json_converter

Syntax

template <> struct CONJURE_API json_converter<math::transform>

Functions

Public

from_json

[[nodiscard]] static result<math::transform> from_json(
    const value &source);

Reads {"position", "rotation", "scale"}; absent members keep the identity.