neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 17.5 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.PointClusterMesh = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function PointClusterMesh(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, OverrideBoundingBox = props.OverrideBoundingBox, OverridenBoundingBox = props.OverridenBoundingBox, Distribution = props.Distribution, Colors = props.Colors, TextureColorSource = props.TextureColorSource, HeightScaleSource = props.HeightScaleSource, TextureIntensityClip = props.TextureIntensityClip, TextureAlphaClip = props.TextureAlphaClip, MaxClipAttempts = props.MaxClipAttempts, HeightmapExp = props.HeightmapExp, Seed = props.Seed, Points = props.Points, Atlas = props.Atlas, Scale = props.Scale, RangeExp = props.RangeExp, JitterRange = props.JitterRange, Color0 = props.Color0, Color1 = props.Color1, ColorLerpScale = props.ColorLerpScale, ColorGap = props.ColorGap, SimplexNoiseScale = props.SimplexNoiseScale, SimplexNoiseOffset = props.SimplexNoiseOffset, UniformSize = props.UniformSize, MinSize = props.MinSize, MaxSize = props.MaxSize, MinRotation = props.MinRotation, MaxRotation = props.MaxRotation;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PointClusterMesh", id: id, persistentId: persistentId, updateOrder: updateOrder, version: 1 }, { 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.Sync`1[System.Boolean]", name: "OverrideBoundingBox", id: typeof OverrideBoundingBox === "object" && "id" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.id : undefined, value: typeof OverrideBoundingBox === "object" && "value" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.value : OverrideBoundingBox, isRaw: typeof OverrideBoundingBox === "object" && "isRaw" in OverrideBoundingBox && OverrideBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.BoundingBox]", name: "OverridenBoundingBox", id: typeof OverridenBoundingBox === "object" && "id" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.id : undefined, value: typeof OverridenBoundingBox === "object" && "value" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.value : OverridenBoundingBox, isRaw: typeof OverridenBoundingBox === "object" && "isRaw" in OverridenBoundingBox && OverridenBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.PointClusterMesh+DistributionType]", name: "Distribution", id: typeof Distribution === "object" && "id" in Distribution ? Distribution === null || Distribution === void 0 ? void 0 : Distribution.id : undefined, value: typeof Distribution === "object" && "value" in Distribution ? Distribution === null || Distribution === void 0 ? void 0 : Distribution.value : Distribution, isRaw: typeof Distribution === "object" && "isRaw" in Distribution && Distribution.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.PointClusterMesh+ColorMode]", name: "Colors", id: typeof Colors === "object" && "id" in Colors ? Colors === null || Colors === void 0 ? void 0 : Colors.id : undefined, value: typeof Colors === "object" && "value" in Colors ? Colors === null || Colors === void 0 ? void 0 : Colors.value : Colors, isRaw: typeof Colors === "object" && "isRaw" in Colors && Colors.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture]", name: "TextureColorSource", id: typeof TextureColorSource === "object" && "id" in TextureColorSource ? TextureColorSource === null || TextureColorSource === void 0 ? void 0 : TextureColorSource.id : undefined, value: typeof TextureColorSource === "object" && "value" in TextureColorSource ? TextureColorSource === null || TextureColorSource === void 0 ? void 0 : TextureColorSource.value : TextureColorSource, isRaw: typeof TextureColorSource === "object" && "isRaw" in TextureColorSource && TextureColorSource.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "HeightScaleSource", id: typeof HeightScaleSource === "object" && "id" in HeightScaleSource ? HeightScaleSource === null || HeightScaleSource === void 0 ? void 0 : HeightScaleSource.id : undefined, value: typeof HeightScaleSource === "object" && "value" in HeightScaleSource ? HeightScaleSource === null || HeightScaleSource === void 0 ? void 0 : HeightScaleSource.value : HeightScaleSource, isRaw: typeof HeightScaleSource === "object" && "isRaw" in HeightScaleSource && HeightScaleSource.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "TextureIntensityClip", id: typeof TextureIntensityClip === "object" && "id" in TextureIntensityClip ? TextureIntensityClip === null || TextureIntensityClip === void 0 ? void 0 : TextureIntensityClip.id : undefined, value: typeof TextureIntensityClip === "object" && "value" in TextureIntensityClip ? TextureIntensityClip === null || TextureIntensityClip === void 0 ? void 0 : TextureIntensityClip.value : TextureIntensityClip, isRaw: typeof TextureIntensityClip === "object" && "isRaw" in TextureIntensityClip && TextureIntensityClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "TextureAlphaClip", id: typeof TextureAlphaClip === "object" && "id" in TextureAlphaClip ? TextureAlphaClip === null || TextureAlphaClip === void 0 ? void 0 : TextureAlphaClip.id : undefined, value: typeof TextureAlphaClip === "object" && "value" in TextureAlphaClip ? TextureAlphaClip === null || TextureAlphaClip === void 0 ? void 0 : TextureAlphaClip.value : TextureAlphaClip, isRaw: typeof TextureAlphaClip === "object" && "isRaw" in TextureAlphaClip && TextureAlphaClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "MaxClipAttempts", id: typeof MaxClipAttempts === "object" && "id" in MaxClipAttempts ? MaxClipAttempts === null || MaxClipAttempts === void 0 ? void 0 : MaxClipAttempts.id : undefined, value: typeof MaxClipAttempts === "object" && "value" in MaxClipAttempts ? MaxClipAttempts === null || MaxClipAttempts === void 0 ? void 0 : MaxClipAttempts.value : MaxClipAttempts, isRaw: typeof MaxClipAttempts === "object" && "isRaw" in MaxClipAttempts && MaxClipAttempts.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HeightmapExp", id: typeof HeightmapExp === "object" && "id" in HeightmapExp ? HeightmapExp === null || HeightmapExp === void 0 ? void 0 : HeightmapExp.id : undefined, value: typeof HeightmapExp === "object" && "value" in HeightmapExp ? HeightmapExp === null || HeightmapExp === void 0 ? void 0 : HeightmapExp.value : HeightmapExp, isRaw: typeof HeightmapExp === "object" && "isRaw" in HeightmapExp && HeightmapExp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Seed", id: typeof Seed === "object" && "id" in Seed ? Seed === null || Seed === void 0 ? void 0 : Seed.id : undefined, value: typeof Seed === "object" && "value" in Seed ? Seed === null || Seed === void 0 ? void 0 : Seed.value : Seed, isRaw: typeof Seed === "object" && "isRaw" in Seed && Seed.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Points", id: typeof Points === "object" && "id" in Points ? Points === null || Points === void 0 ? void 0 : Points.id : undefined, value: typeof Points === "object" && "value" in Points ? Points === null || Points === void 0 ? void 0 : Points.value : Points, isRaw: typeof Points === "object" && "isRaw" in Points && Points.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.AtlasInfo]", name: "Atlas", id: typeof Atlas === "object" && "id" in Atlas ? Atlas === null || Atlas === void 0 ? void 0 : Atlas.id : undefined, value: typeof Atlas === "object" && "value" in Atlas ? Atlas === null || Atlas === void 0 ? void 0 : Atlas.value : Atlas, isRaw: typeof Atlas === "object" && "isRaw" in Atlas && Atlas.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "Scale", id: typeof Scale === "object" && "id" in Scale ? Scale === null || Scale === void 0 ? void 0 : Scale.id : undefined, value: typeof Scale === "object" && "value" in Scale ? Scale === null || Scale === void 0 ? void 0 : Scale.value : Scale, isRaw: typeof Scale === "object" && "isRaw" in Scale && Scale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "RangeExp", id: typeof RangeExp === "object" && "id" in RangeExp ? RangeExp === null || RangeExp === void 0 ? void 0 : RangeExp.id : undefined, value: typeof RangeExp === "object" && "value" in RangeExp ? RangeExp === null || RangeExp === void 0 ? void 0 : RangeExp.value : RangeExp, isRaw: typeof RangeExp === "object" && "isRaw" in RangeExp && RangeExp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "JitterRange", id: typeof JitterRange === "object" && "id" in JitterRange ? JitterRange === null || JitterRange === void 0 ? void 0 : JitterRange.id : undefined, value: typeof JitterRange === "object" && "value" in JitterRange ? JitterRange === null || JitterRange === void 0 ? void 0 : JitterRange.value : JitterRange, isRaw: typeof JitterRange === "object" && "isRaw" in JitterRange && JitterRange.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Color0", id: typeof Color0 === "object" && "id" in Color0 ? Color0 === null || Color0 === void 0 ? void 0 : Color0.id : undefined, value: typeof Color0 === "object" && "value" in Color0 ? Color0 === null || Color0 === void 0 ? void 0 : Color0.value : Color0, isRaw: typeof Color0 === "object" && "isRaw" in Color0 && Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Color1", id: typeof Color1 === "object" && "id" in Color1 ? Color1 === null || Color1 === void 0 ? void 0 : Color1.id : undefined, value: typeof Color1 === "object" && "value" in Color1 ? Color1 === null || Color1 === void 0 ? void 0 : Color1.value : Color1, isRaw: typeof Color1 === "object" && "isRaw" in Color1 && Color1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "ColorLerpScale", id: typeof ColorLerpScale === "object" && "id" in ColorLerpScale ? ColorLerpScale === null || ColorLerpScale === void 0 ? void 0 : ColorLerpScale.id : undefined, value: typeof ColorLerpScale === "object" && "value" in ColorLerpScale ? ColorLerpScale === null || ColorLerpScale === void 0 ? void 0 : ColorLerpScale.value : ColorLerpScale, isRaw: typeof ColorLerpScale === "object" && "isRaw" in ColorLerpScale && ColorLerpScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "ColorGap", id: typeof ColorGap === "object" && "id" in ColorGap ? ColorGap === null || ColorGap === void 0 ? void 0 : ColorGap.id : undefined, value: typeof ColorGap === "object" && "value" in ColorGap ? ColorGap === null || ColorGap === void 0 ? void 0 : ColorGap.value : ColorGap, isRaw: typeof ColorGap === "object" && "isRaw" in ColorGap && ColorGap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "SimplexNoiseScale", id: typeof SimplexNoiseScale === "object" && "id" in SimplexNoiseScale ? SimplexNoiseScale === null || SimplexNoiseScale === void 0 ? void 0 : SimplexNoiseScale.id : undefined, value: typeof SimplexNoiseScale === "object" && "value" in SimplexNoiseScale ? SimplexNoiseScale === null || SimplexNoiseScale === void 0 ? void 0 : SimplexNoiseScale.value : SimplexNoiseScale, isRaw: typeof SimplexNoiseScale === "object" && "isRaw" in SimplexNoiseScale && SimplexNoiseScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "SimplexNoiseOffset", id: typeof SimplexNoiseOffset === "object" && "id" in SimplexNoiseOffset ? SimplexNoiseOffset === null || SimplexNoiseOffset === void 0 ? void 0 : SimplexNoiseOffset.id : undefined, value: typeof SimplexNoiseOffset === "object" && "value" in SimplexNoiseOffset ? SimplexNoiseOffset === null || SimplexNoiseOffset === void 0 ? void 0 : SimplexNoiseOffset.value : SimplexNoiseOffset, isRaw: typeof SimplexNoiseOffset === "object" && "isRaw" in SimplexNoiseOffset && SimplexNoiseOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UniformSize", id: typeof UniformSize === "object" && "id" in UniformSize ? UniformSize === null || UniformSize === void 0 ? void 0 : UniformSize.id : undefined, value: typeof UniformSize === "object" && "value" in UniformSize ? UniformSize === null || UniformSize === void 0 ? void 0 : UniformSize.value : UniformSize, isRaw: typeof UniformSize === "object" && "isRaw" in UniformSize && UniformSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "MinSize", id: typeof MinSize === "object" && "id" in MinSize ? MinSize === null || MinSize === void 0 ? void 0 : MinSize.id : undefined, value: typeof MinSize === "object" && "value" in MinSize ? MinSize === null || MinSize === void 0 ? void 0 : MinSize.value : MinSize, isRaw: typeof MinSize === "object" && "isRaw" in MinSize && MinSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "MaxSize", id: typeof MaxSize === "object" && "id" in MaxSize ? MaxSize === null || MaxSize === void 0 ? void 0 : MaxSize.id : undefined, value: typeof MaxSize === "object" && "value" in MaxSize ? MaxSize === null || MaxSize === void 0 ? void 0 : MaxSize.value : MaxSize, isRaw: typeof MaxSize === "object" && "isRaw" in MaxSize && MaxSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MinRotation", id: typeof MinRotation === "object" && "id" in MinRotation ? MinRotation === null || MinRotation === void 0 ? void 0 : MinRotation.id : undefined, value: typeof MinRotation === "object" && "value" in MinRotation ? MinRotation === null || MinRotation === void 0 ? void 0 : MinRotation.value : MinRotation, isRaw: typeof MinRotation === "object" && "isRaw" in MinRotation && MinRotation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxRotation", id: typeof MaxRotation === "object" && "id" in MaxRotation ? MaxRotation === null || MaxRotation === void 0 ? void 0 : MaxRotation.id : undefined, value: typeof MaxRotation === "object" && "value" in MaxRotation ? MaxRotation === null || MaxRotation === void 0 ? void 0 : MaxRotation.value : MaxRotation, isRaw: typeof MaxRotation === "object" && "isRaw" in MaxRotation && MaxRotation.isRaw ? true : undefined })] })));
}
exports.PointClusterMesh = PointClusterMesh;
;