neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 8.27 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.SingleShapeCharacterControllerManager = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function SingleShapeCharacterControllerManager(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, UseUserHeadHeightWhenAvailable = props.UseUserHeadHeightWhenAvailable, HeadHeightOffset = props.HeadHeightOffset, CrouchTargetWidth = props.CrouchTargetWidth, CrouchStart = props.CrouchStart, CrouchEnd = props.CrouchEnd, DefaultHeight = props.DefaultHeight, DefaultWidth = props.DefaultWidth, RootAtBottom = props.RootAtBottom, TargetHeight = props.TargetHeight, TargetWidth = props.TargetWidth, TargetOffset = props.TargetOffset;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SingleShapeCharacterControllerManager", 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.Boolean]", name: "UseUserHeadHeightWhenAvailable", id: typeof UseUserHeadHeightWhenAvailable === "object" && "id" in UseUserHeadHeightWhenAvailable ? UseUserHeadHeightWhenAvailable === null || UseUserHeadHeightWhenAvailable === void 0 ? void 0 : UseUserHeadHeightWhenAvailable.id : undefined, value: typeof UseUserHeadHeightWhenAvailable === "object" && "value" in UseUserHeadHeightWhenAvailable ? UseUserHeadHeightWhenAvailable === null || UseUserHeadHeightWhenAvailable === void 0 ? void 0 : UseUserHeadHeightWhenAvailable.value : UseUserHeadHeightWhenAvailable, isRaw: typeof UseUserHeadHeightWhenAvailable === "object" && "isRaw" in UseUserHeadHeightWhenAvailable && UseUserHeadHeightWhenAvailable.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HeadHeightOffset", id: typeof HeadHeightOffset === "object" && "id" in HeadHeightOffset ? HeadHeightOffset === null || HeadHeightOffset === void 0 ? void 0 : HeadHeightOffset.id : undefined, value: typeof HeadHeightOffset === "object" && "value" in HeadHeightOffset ? HeadHeightOffset === null || HeadHeightOffset === void 0 ? void 0 : HeadHeightOffset.value : HeadHeightOffset, isRaw: typeof HeadHeightOffset === "object" && "isRaw" in HeadHeightOffset && HeadHeightOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CrouchTargetWidth", id: typeof CrouchTargetWidth === "object" && "id" in CrouchTargetWidth ? CrouchTargetWidth === null || CrouchTargetWidth === void 0 ? void 0 : CrouchTargetWidth.id : undefined, value: typeof CrouchTargetWidth === "object" && "value" in CrouchTargetWidth ? CrouchTargetWidth === null || CrouchTargetWidth === void 0 ? void 0 : CrouchTargetWidth.value : CrouchTargetWidth, isRaw: typeof CrouchTargetWidth === "object" && "isRaw" in CrouchTargetWidth && CrouchTargetWidth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CrouchStart", id: typeof CrouchStart === "object" && "id" in CrouchStart ? CrouchStart === null || CrouchStart === void 0 ? void 0 : CrouchStart.id : undefined, value: typeof CrouchStart === "object" && "value" in CrouchStart ? CrouchStart === null || CrouchStart === void 0 ? void 0 : CrouchStart.value : CrouchStart, isRaw: typeof CrouchStart === "object" && "isRaw" in CrouchStart && CrouchStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CrouchEnd", id: typeof CrouchEnd === "object" && "id" in CrouchEnd ? CrouchEnd === null || CrouchEnd === void 0 ? void 0 : CrouchEnd.id : undefined, value: typeof CrouchEnd === "object" && "value" in CrouchEnd ? CrouchEnd === null || CrouchEnd === void 0 ? void 0 : CrouchEnd.value : CrouchEnd, isRaw: typeof CrouchEnd === "object" && "isRaw" in CrouchEnd && CrouchEnd.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "DefaultHeight", id: typeof DefaultHeight === "object" && "id" in DefaultHeight ? DefaultHeight === null || DefaultHeight === void 0 ? void 0 : DefaultHeight.id : undefined, value: typeof DefaultHeight === "object" && "value" in DefaultHeight ? DefaultHeight === null || DefaultHeight === void 0 ? void 0 : DefaultHeight.value : DefaultHeight, isRaw: typeof DefaultHeight === "object" && "isRaw" in DefaultHeight && DefaultHeight.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "DefaultWidth", id: typeof DefaultWidth === "object" && "id" in DefaultWidth ? DefaultWidth === null || DefaultWidth === void 0 ? void 0 : DefaultWidth.id : undefined, value: typeof DefaultWidth === "object" && "value" in DefaultWidth ? DefaultWidth === null || DefaultWidth === void 0 ? void 0 : DefaultWidth.value : DefaultWidth, isRaw: typeof DefaultWidth === "object" && "isRaw" in DefaultWidth && DefaultWidth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "RootAtBottom", id: typeof RootAtBottom === "object" && "id" in RootAtBottom ? RootAtBottom === null || RootAtBottom === void 0 ? void 0 : RootAtBottom.id : undefined, value: typeof RootAtBottom === "object" && "value" in RootAtBottom ? RootAtBottom === null || RootAtBottom === void 0 ? void 0 : RootAtBottom.value : RootAtBottom, isRaw: typeof RootAtBottom === "object" && "isRaw" in RootAtBottom && RootAtBottom.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.Single]", name: "TargetHeight", id: typeof TargetHeight === "object" && "id" in TargetHeight ? TargetHeight === null || TargetHeight === void 0 ? void 0 : TargetHeight.id : undefined, value: typeof TargetHeight === "object" && "value" in TargetHeight ? TargetHeight === null || TargetHeight === void 0 ? void 0 : TargetHeight.value : TargetHeight, isRaw: typeof TargetHeight === "object" && "isRaw" in TargetHeight && TargetHeight.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.Single]", name: "TargetWidth", id: typeof TargetWidth === "object" && "id" in TargetWidth ? TargetWidth === null || TargetWidth === void 0 ? void 0 : TargetWidth.id : undefined, value: typeof TargetWidth === "object" && "value" in TargetWidth ? TargetWidth === null || TargetWidth === void 0 ? void 0 : TargetWidth.value : TargetWidth, isRaw: typeof TargetWidth === "object" && "isRaw" in TargetWidth && TargetWidth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float3]", name: "TargetOffset", id: typeof TargetOffset === "object" && "id" in TargetOffset ? TargetOffset === null || TargetOffset === void 0 ? void 0 : TargetOffset.id : undefined, value: typeof TargetOffset === "object" && "value" in TargetOffset ? TargetOffset === null || TargetOffset === void 0 ? void 0 : TargetOffset.value : TargetOffset, isRaw: typeof TargetOffset === "object" && "isRaw" in TargetOffset && TargetOffset.isRaw ? true : undefined })] })));
}
exports.SingleShapeCharacterControllerManager = SingleShapeCharacterControllerManager;
;