UNPKG

wonder.js

Version:
76 lines (59 loc) 3.41 kB
'use strict'; var ComponentMapService$Wonderjs = require("../../../primitive/gameObject/ComponentMapService.js"); function hasScriptComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* scriptMap */42]); } function hasBasicCameraViewComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* basicCameraViewMap */31]); } function hasPerspectiveCameraProjectionComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* perspectiveCameraProjectionMap */32]); } function hasFlyCameraControllerComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* flyCameraControllerMap */34]); } function hasArcballCameraControllerComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* arcballCameraControllerMap */33]); } function hasMeshRendererComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* meshRendererMap */35]); } function hasTransformComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* transformMap */30]); } function hasGeometryComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* geometryMap */29]); } function hasBasicMaterialComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* basicMaterialMap */36]); } function hasLightMaterialComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* lightMaterialMap */37]); } function hasDirectionLightComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* directionLightMap */40]); } function hasPointLightComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* pointLightMap */41]); } function hasSourceInstanceComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* sourceInstanceMap */38]); } function hasObjectInstanceComponent(uid, gameObjectRecord) { return ComponentMapService$Wonderjs.hasComponent(uid, gameObjectRecord[/* objectInstanceMap */39]); } exports.hasScriptComponent = hasScriptComponent; exports.hasBasicCameraViewComponent = hasBasicCameraViewComponent; exports.hasPerspectiveCameraProjectionComponent = hasPerspectiveCameraProjectionComponent; exports.hasFlyCameraControllerComponent = hasFlyCameraControllerComponent; exports.hasArcballCameraControllerComponent = hasArcballCameraControllerComponent; exports.hasMeshRendererComponent = hasMeshRendererComponent; exports.hasTransformComponent = hasTransformComponent; exports.hasGeometryComponent = hasGeometryComponent; exports.hasBasicMaterialComponent = hasBasicMaterialComponent; exports.hasLightMaterialComponent = hasLightMaterialComponent; exports.hasDirectionLightComponent = hasDirectionLightComponent; exports.hasPointLightComponent = hasPointLightComponent; exports.hasSourceInstanceComponent = hasSourceInstanceComponent; exports.hasObjectInstanceComponent = hasObjectInstanceComponent; /* ComponentMapService-Wonderjs Not a pure module */