neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.6 kB
JavaScript
;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.WorldGrabMover = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function WorldGrabMover(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, ShowLerp = props.ShowLerp, _activatingUser = props._activatingUser, _crossMesh = props._crossMesh, _visualVisible = props._visualVisible, _visualRotation = props._visualRotation, _material = props._material, _referencePosition = props._referencePosition;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.WorldGrabMover", id: id, persistentId: persistentId, updateOrder: updateOrder }, { children: [(0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Enabled", id: typeof Enabled === "object" && "id" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.id : undefined, value: typeof Enabled === "object" && "value" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.value : Enabled !== null && Enabled !== void 0 ? Enabled : true, isRaw: typeof Enabled === "object" && "isRaw" in Enabled && Enabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "ShowLerp", id: typeof ShowLerp === "object" && "id" in ShowLerp ? ShowLerp === null || ShowLerp === void 0 ? void 0 : ShowLerp.id : undefined, value: typeof ShowLerp === "object" && "value" in ShowLerp ? ShowLerp === null || ShowLerp === void 0 ? void 0 : ShowLerp.value : ShowLerp, isRaw: typeof ShowLerp === "object" && "isRaw" in ShowLerp && ShowLerp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.User]", name: "_activatingUser", id: typeof _activatingUser === "object" && "id" in _activatingUser ? _activatingUser === null || _activatingUser === void 0 ? void 0 : _activatingUser.id : undefined, value: typeof _activatingUser === "object" && "value" in _activatingUser ? _activatingUser === null || _activatingUser === void 0 ? void 0 : _activatingUser.value : _activatingUser, isRaw: typeof _activatingUser === "object" && "isRaw" in _activatingUser && _activatingUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.DriveRef`1[FrooxEngine.CrossMesh]", name: "_crossMesh", id: typeof _crossMesh === "object" && "id" in _crossMesh ? _crossMesh === null || _crossMesh === void 0 ? void 0 : _crossMesh.id : undefined, value: typeof _crossMesh === "object" && "value" in _crossMesh ? _crossMesh === null || _crossMesh === void 0 ? void 0 : _crossMesh.value : _crossMesh, isRaw: typeof _crossMesh === "object" && "isRaw" in _crossMesh && _crossMesh.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.Boolean]", name: "_visualVisible", id: typeof _visualVisible === "object" && "id" in _visualVisible ? _visualVisible === null || _visualVisible === void 0 ? void 0 : _visualVisible.id : undefined, value: typeof _visualVisible === "object" && "value" in _visualVisible ? _visualVisible === null || _visualVisible === void 0 ? void 0 : _visualVisible.value : _visualVisible, isRaw: typeof _visualVisible === "object" && "isRaw" in _visualVisible && _visualVisible.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.floatQ]", name: "_visualRotation", id: typeof _visualRotation === "object" && "id" in _visualRotation ? _visualRotation === null || _visualRotation === void 0 ? void 0 : _visualRotation.id : undefined, value: typeof _visualRotation === "object" && "value" in _visualRotation ? _visualRotation === null || _visualRotation === void 0 ? void 0 : _visualRotation.value : _visualRotation, isRaw: typeof _visualRotation === "object" && "isRaw" in _visualRotation && _visualRotation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.DriveRef`1[FrooxEngine.PBS_RimMetallic]", name: "_material", id: typeof _material === "object" && "id" in _material ? _material === null || _material === void 0 ? void 0 : _material.id : undefined, value: typeof _material === "object" && "value" in _material ? _material === null || _material === void 0 ? void 0 : _material.value : _material, isRaw: typeof _material === "object" && "isRaw" in _material && _material.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "_referencePosition", id: typeof _referencePosition === "object" && "id" in _referencePosition ? _referencePosition === null || _referencePosition === void 0 ? void 0 : _referencePosition.id : undefined, value: typeof _referencePosition === "object" && "value" in _referencePosition ? _referencePosition === null || _referencePosition === void 0 ? void 0 : _referencePosition.value : _referencePosition, isRaw: typeof _referencePosition === "object" && "isRaw" in _referencePosition && _referencePosition.isRaw ? true : undefined })] })));
}
exports.WorldGrabMover = WorldGrabMover;
;