MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Set

Method Set

Source/Engine/Content/SoftAssetReference.h:237–240  ·  view source on GitHub ↗

Sets the asset. The object ID. Uses Scripting to find the registered asset of the given ID.

Source from the content-addressed store, hash-verified

235 /// </summary>
236 /// <param name="id">The object ID. Uses Scripting to find the registered asset of the given ID.</param>
237 FORCE_INLINE void Set(const Guid& id)
238 {
239 OnSet(id);
240 }
241
242 /// <summary>
243 /// Sets the asset.

Callers

nothing calls this directly

Calls 1

OnSetFunction · 0.85

Tested by

no test coverage detected