wonder.js
Version:
67 lines (62 loc) • 5.04 kB
JavaScript
'use strict';
var TransformAPI$Wonderjs = require("../../../../api/TransformAPI.js");
var CoordinateAPI$Wonderjs = require("../../../../api/CoordinateAPI.js");
var GameObjectAPI$Wonderjs = require("../../../../api/GameObjectAPI.js");
var PointLightAPI$Wonderjs = require("../../../../api/light/PointLightAPI.js");
var LightMaterialAPI$Wonderjs = require("../../../../api/material/LightMaterialAPI.js");
var DirectionLightAPI$Wonderjs = require("../../../../api/light/DirectionLightAPI.js");
var BasicCameraViewAPI$Wonderjs = require("../../../../api/camera/BasicCameraViewAPI.js");
var ExtendIMGUIMainService$Wonderjs = require("../imgui/extend/ExtendIMGUIMainService.js");
var ManageIMGUIMainService$Wonderjs = require("../imgui/ManageIMGUIMainService.js");
var OperateWorkerDataMainService$Wonderjs = require("../workerData/OperateWorkerDataMainService.js");
var FixedLayoutControlIMGUIMainService$Wonderjs = require("../imgui/FixedLayoutControlIMGUIMainService.js");
function getIMGUIAPIJsObj(state) {
return state[/* apiRecord */45][/* imguiAPIJsObj */1];
}
function create(param) {
return {
label: FixedLayoutControlIMGUIMainService$Wonderjs.label,
image: FixedLayoutControlIMGUIMainService$Wonderjs.image,
button: ExtendIMGUIMainService$Wonderjs.Button[/* button */0],
box: FixedLayoutControlIMGUIMainService$Wonderjs.box,
beginGroup: FixedLayoutControlIMGUIMainService$Wonderjs.beginGroup,
endGroup: FixedLayoutControlIMGUIMainService$Wonderjs.endGroup,
unsafeGetCustomControl: ExtendIMGUIMainService$Wonderjs.Extend[/* unsafeGetCustomControl */0],
getWonderImguiIMGUIRecord: ManageIMGUIMainService$Wonderjs.getRecord,
setWonderImguiIMGUIRecord: ManageIMGUIMainService$Wonderjs.setRecord,
unsafeGetGameObjectTransformComponent: GameObjectAPI$Wonderjs.unsafeGetGameObjectTransformComponent,
unsafeGetGameObjectLightMaterialComponent: GameObjectAPI$Wonderjs.unsafeGetGameObjectLightMaterialComponent,
unsafeGetGameObjectPerspectiveCameraProjectionComponent: GameObjectAPI$Wonderjs.unsafeGetGameObjectPerspectiveCameraProjectionComponent,
unsafeGetGameObjectBasicCameraViewComponent: GameObjectAPI$Wonderjs.unsafeGetGameObjectBasicCameraViewComponent,
hasGameObjectDirectionLightComponent: GameObjectAPI$Wonderjs.hasGameObjectDirectionLightComponent,
hasGameObjectPointLightComponent: GameObjectAPI$Wonderjs.hasGameObjectPointLightComponent,
hasGameObjectBasicCameraViewComponent: GameObjectAPI$Wonderjs.hasGameObjectBasicCameraViewComponent,
getAllGameObjects: GameObjectAPI$Wonderjs.getAllGameObjects,
getAllDirectionLightComponentsOfGameObject: GameObjectAPI$Wonderjs.getAllDirectionLightComponentsOfGameObject,
getAllPointLightComponentsOfGameObject: GameObjectAPI$Wonderjs.getAllPointLightComponentsOfGameObject,
getAllBasicCameraViewComponents: GameObjectAPI$Wonderjs.getAllBasicCameraViewComponents,
getAllPerspectiveCameraProjectionComponents: GameObjectAPI$Wonderjs.getAllPerspectiveCameraProjectionComponents,
getAllBasicMaterialComponents: GameObjectAPI$Wonderjs.getAllBasicMaterialComponents,
getAllLightMaterialComponents: GameObjectAPI$Wonderjs.getAllLightMaterialComponents,
getAllDirectionLightComponents: GameObjectAPI$Wonderjs.getAllDirectionLightComponents,
getAllPointLightComponents: GameObjectAPI$Wonderjs.getAllPointLightComponents,
setLightMaterialDiffuseColor: LightMaterialAPI$Wonderjs.setLightMaterialDiffuseColor,
getLightMaterialSpecularColor: LightMaterialAPI$Wonderjs.getLightMaterialSpecularColor,
setLightMaterialSpecularColor: LightMaterialAPI$Wonderjs.setLightMaterialSpecularColor,
getLightMaterialShininess: LightMaterialAPI$Wonderjs.getLightMaterialShininess,
setLightMaterialShininess: LightMaterialAPI$Wonderjs.setLightMaterialShininess,
getTransformLocalPosition: TransformAPI$Wonderjs.getTransformLocalPosition,
setTransformLocalPosition: TransformAPI$Wonderjs.setTransformLocalPosition,
getTransformPosition: TransformAPI$Wonderjs.getTransformPosition,
unsafeGetTransformChildren: TransformAPI$Wonderjs.unsafeGetTransformChildren,
unsafeGetTransformGameObject: TransformAPI$Wonderjs.unsafeGetTransformGameObject,
unsafeGetDirectionLightGameObject: DirectionLightAPI$Wonderjs.unsafeGetDirectionLightGameObject,
unsafeGetPointLightGameObject: PointLightAPI$Wonderjs.unsafeGetPointLightGameObject,
unsafeGetBasicCameraViewGameObject: BasicCameraViewAPI$Wonderjs.unsafeGetBasicCameraViewGameObject,
convertWorldToScreen: CoordinateAPI$Wonderjs.convertWorldToScreen,
getRenderWorkerCustomData: OperateWorkerDataMainService$Wonderjs.getRenderWorkerCustomData
};
}
exports.getIMGUIAPIJsObj = getIMGUIAPIJsObj;
exports.create = create;
/* TransformAPI-Wonderjs Not a pure module */