public void EnterEditMode( UIntPtr sceneWidgetPointer, ref MatrixFrame initialCameraFrame, float initialCameraElevation, float initialCameraBearing) { ScriptingInterfaceOfIMBEditor.call_EnterEditModeDelegate(sceneWidgetPointer, ref initialCameraFrame, initialCameraElevation, initialCameraBearing); }
public void SetUpgradeLevelVisibility(string cumulated_string) { byte[] numArray = (byte[])null; if (cumulated_string != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBEditor._utf8.GetBytes(cumulated_string, 0, cumulated_string.Length, numArray, 0); numArray[bytes] = (byte)0; } ScriptingInterfaceOfIMBEditor.call_SetUpgradeLevelVisibilityDelegate(numArray); }
public string GetAllPrefabsAndChildWithTag(string tag) { byte[] numArray = (byte[])null; if (tag != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBEditor._utf8.GetBytes(tag, 0, tag.Length, numArray, 0); numArray[bytes] = (byte)0; } return(ScriptingInterfaceOfIMBEditor.call_GetAllPrefabsAndChildWithTagDelegate(numArray) != 1 ? (string)null : Managed.ReturnValueFromEngine); }
public void AddEditorWarning(UIntPtr entityId, string warningText) { byte[] numArray = (byte[])null; if (warningText != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBEditor._utf8.GetBytes(warningText, 0, warningText.Length, numArray, 0); numArray[bytes] = (byte)0; } ScriptingInterfaceOfIMBEditor.call_AddEditorWarningDelegate(entityId, numArray); }
public SceneView GetEditorSceneView() { NativeObjectPointer nativeObjectPointer = ScriptingInterfaceOfIMBEditor.call_GetEditorSceneViewDelegate(); SceneView nativeObjectWrapper = NativeObject.CreateNativeObjectWrapper <SceneView>(nativeObjectPointer); if (!(nativeObjectPointer.Pointer != UIntPtr.Zero)) { return(nativeObjectWrapper); } LibraryApplicationInterface.IManaged.DecreaseReferenceCount(nativeObjectPointer.Pointer); return(nativeObjectWrapper); }
public void TickSceneEditorPresentation(float dt) => ScriptingInterfaceOfIMBEditor.call_TickSceneEditorPresentationDelegate(dt);
public bool BorderHelpersEnabled() => ScriptingInterfaceOfIMBEditor.call_BorderHelpersEnabledDelegate();
public void LeaveEditMissionMode() => ScriptingInterfaceOfIMBEditor.call_LeaveEditMissionModeDelegate();
public void DeactivateSceneEditorPresentation() => ScriptingInterfaceOfIMBEditor.call_DeactivateSceneEditorPresentationDelegate();
public void TickEditMode(float dt) => ScriptingInterfaceOfIMBEditor.call_TickEditModeDelegate(dt);
public void EnterEditMissionMode(UIntPtr missionPointer) => ScriptingInterfaceOfIMBEditor.call_EnterEditMissionModeDelegate(missionPointer);
public void RenderEditorMesh(UIntPtr metaMeshId, ref MatrixFrame frame) => ScriptingInterfaceOfIMBEditor.call_RenderEditorMeshDelegate(metaMeshId, ref frame);
public void ExitEditMode() => ScriptingInterfaceOfIMBEditor.call_ExitEditModeDelegate();
public void ZoomToPosition(Vec3 pos) => ScriptingInterfaceOfIMBEditor.call_ZoomToPositionDelegate(pos);
public bool IsEntitySelected(UIntPtr entityId) => ScriptingInterfaceOfIMBEditor.call_IsEntitySelectedDelegate(entityId);
public void UpdateSceneTree() => ScriptingInterfaceOfIMBEditor.call_UpdateSceneTreeDelegate();
public bool IsEditModeEnabled() => ScriptingInterfaceOfIMBEditor.call_IsEditModeEnabledDelegate();
public bool IsReplayManagerReplaying() => ScriptingInterfaceOfIMBEditor.call_IsReplayManagerReplayingDelegate();