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

Function GetManagedInstance

Source/Engine/Content/AssetReference.h:63–66  ·  view source on GitHub ↗

Gets managed instance object (or null if no asset set).

Source from the content-addressed store, hash-verified

61 /// Gets managed instance object (or null if no asset set).
62 /// </summary>
63 FORCE_INLINE MObject* GetManagedInstance() const
64 {
65 return _asset ? _asset->GetOrCreateManagedInstance() : nullptr;
66 }
67
68 /// <summary>
69 /// Gets the asset property value as string.

Callers 15

DeleteInstanceMethod · 0.70
InitMethod · 0.50
UpdateMethod · 0.50
ExitMethod · 0.50
GetMainWindowMethod · 0.50
CanReloadScriptsMethod · 0.50
CanAutoBuildCSGMethod · 0.50
CanAutoBuildNavMeshMethod · 0.50
HasGameViewportFocusMethod · 0.50
FocusGameViewportMethod · 0.50
ScreenToGameViewportMethod · 0.50
GameViewportToScreenMethod · 0.50

Calls 1

Tested by

no test coverage detected