neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 14.3 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.PBS_VoronoiCrystal = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../../core");
function PBS_VoronoiCrystal(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, _shader = props._shader, NoiseScale = props.NoiseScale, NoiseAnimationOffset = props.NoiseAnimationOffset, CellColorTint = props.CellColorTint, ColorGradient = props.ColorGradient, EmissionColor = props.EmissionColor, EmissionGradient = props.EmissionGradient, SmoothnessGradient = props.SmoothnessGradient, CellSmoothness = props.CellSmoothness, CellMetallic = props.CellMetallic, NormalMap = props.NormalMap, NormalStrength = props.NormalStrength, NormalTextureScale = props.NormalTextureScale, NormalTextureOffset = props.NormalTextureOffset, EdgeThickness = props.EdgeThickness, EdgeColor = props.EdgeColor, EdgeEmission = props.EdgeEmission, EdgeSmoothness = props.EdgeSmoothness, EdgeMetallic = props.EdgeMetallic, EdgeNormalStrength = props.EdgeNormalStrength;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PBS_VoronoiCrystal", 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: "HighPriorityIntegration", id: typeof HighPriorityIntegration === "object" && "id" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.id : undefined, value: typeof HighPriorityIntegration === "object" && "value" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.value : HighPriorityIntegration, isRaw: typeof HighPriorityIntegration === "object" && "isRaw" in HighPriorityIntegration && HighPriorityIntegration.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Shader]", name: "_shader-ID", id: typeof _shader === "object" && "id" in _shader ? _shader === null || _shader === void 0 ? void 0 : _shader.id : undefined, value: typeof _shader === "object" && "value" in _shader ? _shader === null || _shader === void 0 ? void 0 : _shader.value : _shader, readOnly: true, isRaw: typeof _shader === "object" && "isRaw" in _shader && _shader.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "NoiseScale", id: typeof NoiseScale === "object" && "id" in NoiseScale ? NoiseScale === null || NoiseScale === void 0 ? void 0 : NoiseScale.id : undefined, value: typeof NoiseScale === "object" && "value" in NoiseScale ? NoiseScale === null || NoiseScale === void 0 ? void 0 : NoiseScale.value : NoiseScale, isRaw: typeof NoiseScale === "object" && "isRaw" in NoiseScale && NoiseScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NoiseAnimationOffset", id: typeof NoiseAnimationOffset === "object" && "id" in NoiseAnimationOffset ? NoiseAnimationOffset === null || NoiseAnimationOffset === void 0 ? void 0 : NoiseAnimationOffset.id : undefined, value: typeof NoiseAnimationOffset === "object" && "value" in NoiseAnimationOffset ? NoiseAnimationOffset === null || NoiseAnimationOffset === void 0 ? void 0 : NoiseAnimationOffset.value : NoiseAnimationOffset, isRaw: typeof NoiseAnimationOffset === "object" && "isRaw" in NoiseAnimationOffset && NoiseAnimationOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "CellColorTint", id: typeof CellColorTint === "object" && "id" in CellColorTint ? CellColorTint === null || CellColorTint === void 0 ? void 0 : CellColorTint.id : undefined, value: typeof CellColorTint === "object" && "value" in CellColorTint ? CellColorTint === null || CellColorTint === void 0 ? void 0 : CellColorTint.value : CellColorTint, isRaw: typeof CellColorTint === "object" && "isRaw" in CellColorTint && CellColorTint.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "ColorGradient", id: typeof ColorGradient === "object" && "id" in ColorGradient ? ColorGradient === null || ColorGradient === void 0 ? void 0 : ColorGradient.id : undefined, value: typeof ColorGradient === "object" && "value" in ColorGradient ? ColorGradient === null || ColorGradient === void 0 ? void 0 : ColorGradient.value : ColorGradient, isRaw: typeof ColorGradient === "object" && "isRaw" in ColorGradient && ColorGradient.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "EmissionColor", id: typeof EmissionColor === "object" && "id" in EmissionColor ? EmissionColor === null || EmissionColor === void 0 ? void 0 : EmissionColor.id : undefined, value: typeof EmissionColor === "object" && "value" in EmissionColor ? EmissionColor === null || EmissionColor === void 0 ? void 0 : EmissionColor.value : EmissionColor, isRaw: typeof EmissionColor === "object" && "isRaw" in EmissionColor && EmissionColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "EmissionGradient", id: typeof EmissionGradient === "object" && "id" in EmissionGradient ? EmissionGradient === null || EmissionGradient === void 0 ? void 0 : EmissionGradient.id : undefined, value: typeof EmissionGradient === "object" && "value" in EmissionGradient ? EmissionGradient === null || EmissionGradient === void 0 ? void 0 : EmissionGradient.value : EmissionGradient, isRaw: typeof EmissionGradient === "object" && "isRaw" in EmissionGradient && EmissionGradient.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "SmoothnessGradient", id: typeof SmoothnessGradient === "object" && "id" in SmoothnessGradient ? SmoothnessGradient === null || SmoothnessGradient === void 0 ? void 0 : SmoothnessGradient.id : undefined, value: typeof SmoothnessGradient === "object" && "value" in SmoothnessGradient ? SmoothnessGradient === null || SmoothnessGradient === void 0 ? void 0 : SmoothnessGradient.value : SmoothnessGradient, isRaw: typeof SmoothnessGradient === "object" && "isRaw" in SmoothnessGradient && SmoothnessGradient.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CellSmoothness", id: typeof CellSmoothness === "object" && "id" in CellSmoothness ? CellSmoothness === null || CellSmoothness === void 0 ? void 0 : CellSmoothness.id : undefined, value: typeof CellSmoothness === "object" && "value" in CellSmoothness ? CellSmoothness === null || CellSmoothness === void 0 ? void 0 : CellSmoothness.value : CellSmoothness, isRaw: typeof CellSmoothness === "object" && "isRaw" in CellSmoothness && CellSmoothness.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CellMetallic", id: typeof CellMetallic === "object" && "id" in CellMetallic ? CellMetallic === null || CellMetallic === void 0 ? void 0 : CellMetallic.id : undefined, value: typeof CellMetallic === "object" && "value" in CellMetallic ? CellMetallic === null || CellMetallic === void 0 ? void 0 : CellMetallic.value : CellMetallic, isRaw: typeof CellMetallic === "object" && "isRaw" in CellMetallic && CellMetallic.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "NormalMap", id: typeof NormalMap === "object" && "id" in NormalMap ? NormalMap === null || NormalMap === void 0 ? void 0 : NormalMap.id : undefined, value: typeof NormalMap === "object" && "value" in NormalMap ? NormalMap === null || NormalMap === void 0 ? void 0 : NormalMap.value : NormalMap, isRaw: typeof NormalMap === "object" && "isRaw" in NormalMap && NormalMap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalStrength", id: typeof NormalStrength === "object" && "id" in NormalStrength ? NormalStrength === null || NormalStrength === void 0 ? void 0 : NormalStrength.id : undefined, value: typeof NormalStrength === "object" && "value" in NormalStrength ? NormalStrength === null || NormalStrength === void 0 ? void 0 : NormalStrength.value : NormalStrength, isRaw: typeof NormalStrength === "object" && "isRaw" in NormalStrength && NormalStrength.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "NormalTextureScale", id: typeof NormalTextureScale === "object" && "id" in NormalTextureScale ? NormalTextureScale === null || NormalTextureScale === void 0 ? void 0 : NormalTextureScale.id : undefined, value: typeof NormalTextureScale === "object" && "value" in NormalTextureScale ? NormalTextureScale === null || NormalTextureScale === void 0 ? void 0 : NormalTextureScale.value : NormalTextureScale, isRaw: typeof NormalTextureScale === "object" && "isRaw" in NormalTextureScale && NormalTextureScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "NormalTextureOffset", id: typeof NormalTextureOffset === "object" && "id" in NormalTextureOffset ? NormalTextureOffset === null || NormalTextureOffset === void 0 ? void 0 : NormalTextureOffset.id : undefined, value: typeof NormalTextureOffset === "object" && "value" in NormalTextureOffset ? NormalTextureOffset === null || NormalTextureOffset === void 0 ? void 0 : NormalTextureOffset.value : NormalTextureOffset, isRaw: typeof NormalTextureOffset === "object" && "isRaw" in NormalTextureOffset && NormalTextureOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EdgeThickness", id: typeof EdgeThickness === "object" && "id" in EdgeThickness ? EdgeThickness === null || EdgeThickness === void 0 ? void 0 : EdgeThickness.id : undefined, value: typeof EdgeThickness === "object" && "value" in EdgeThickness ? EdgeThickness === null || EdgeThickness === void 0 ? void 0 : EdgeThickness.value : EdgeThickness, isRaw: typeof EdgeThickness === "object" && "isRaw" in EdgeThickness && EdgeThickness.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "EdgeColor", id: typeof EdgeColor === "object" && "id" in EdgeColor ? EdgeColor === null || EdgeColor === void 0 ? void 0 : EdgeColor.id : undefined, value: typeof EdgeColor === "object" && "value" in EdgeColor ? EdgeColor === null || EdgeColor === void 0 ? void 0 : EdgeColor.value : EdgeColor, isRaw: typeof EdgeColor === "object" && "isRaw" in EdgeColor && EdgeColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "EdgeEmission", id: typeof EdgeEmission === "object" && "id" in EdgeEmission ? EdgeEmission === null || EdgeEmission === void 0 ? void 0 : EdgeEmission.id : undefined, value: typeof EdgeEmission === "object" && "value" in EdgeEmission ? EdgeEmission === null || EdgeEmission === void 0 ? void 0 : EdgeEmission.value : EdgeEmission, isRaw: typeof EdgeEmission === "object" && "isRaw" in EdgeEmission && EdgeEmission.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EdgeSmoothness", id: typeof EdgeSmoothness === "object" && "id" in EdgeSmoothness ? EdgeSmoothness === null || EdgeSmoothness === void 0 ? void 0 : EdgeSmoothness.id : undefined, value: typeof EdgeSmoothness === "object" && "value" in EdgeSmoothness ? EdgeSmoothness === null || EdgeSmoothness === void 0 ? void 0 : EdgeSmoothness.value : EdgeSmoothness, isRaw: typeof EdgeSmoothness === "object" && "isRaw" in EdgeSmoothness && EdgeSmoothness.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EdgeMetallic", id: typeof EdgeMetallic === "object" && "id" in EdgeMetallic ? EdgeMetallic === null || EdgeMetallic === void 0 ? void 0 : EdgeMetallic.id : undefined, value: typeof EdgeMetallic === "object" && "value" in EdgeMetallic ? EdgeMetallic === null || EdgeMetallic === void 0 ? void 0 : EdgeMetallic.value : EdgeMetallic, isRaw: typeof EdgeMetallic === "object" && "isRaw" in EdgeMetallic && EdgeMetallic.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EdgeNormalStrength", id: typeof EdgeNormalStrength === "object" && "id" in EdgeNormalStrength ? EdgeNormalStrength === null || EdgeNormalStrength === void 0 ? void 0 : EdgeNormalStrength.id : undefined, value: typeof EdgeNormalStrength === "object" && "value" in EdgeNormalStrength ? EdgeNormalStrength === null || EdgeNormalStrength === void 0 ? void 0 : EdgeNormalStrength.value : EdgeNormalStrength, isRaw: typeof EdgeNormalStrength === "object" && "isRaw" in EdgeNormalStrength && EdgeNormalStrength.isRaw ? true : undefined })] })));
}
exports.PBS_VoronoiCrystal = PBS_VoronoiCrystal;
;