import { Base as CoreBase } from "@bitbybit-dev/core"; /** * The BabylonJS build's re-export of the shared primitive types, so engine-specific code sees Point3, * Vector3, colors and the shared enumerations from one place. */ export declare namespace Base { type Color = CoreBase.Color; type ColorRGB = CoreBase.ColorRGB; type ColorRGBA = CoreBase.ColorRGBA; type Material = CoreBase.Material; type Point2 = CoreBase.Point2; type Vector2 = CoreBase.Vector2; type Point3 = CoreBase.Point3; type Vector3 = CoreBase.Vector3; type Axis3 = CoreBase.Axis3; type Axis2 = CoreBase.Axis2; type Segment2 = CoreBase.Segment2; type Segment3 = CoreBase.Segment3; type TrianglePlane3 = CoreBase.TrianglePlane3; type Triangle3 = CoreBase.Triangle3; type Mesh3 = CoreBase.Mesh3; type Frame = CoreBase.Frame; /** @deprecated Use `Frame`; `Plane3` is removed in the next major version. */ type Plane3 = CoreBase.Plane3; type BoundingBox = CoreBase.BoundingBox; type Line2 = CoreBase.Line2; type Line3 = CoreBase.Line3; type Polyline3 = CoreBase.Polyline3; type Polyline2 = CoreBase.Polyline2; type TransformMatrix3x3 = CoreBase.TransformMatrix3x3; type TransformMatrixes3x3 = CoreBase.TransformMatrixes3x3; type TransformMatrix = CoreBase.TransformMatrix; type TransformMatrixes = CoreBase.TransformMatrixes; const horizontalAlignEnum: typeof import("@bitbybit-dev/base").Base.horizontalAlignEnum; type horizontalAlignEnum = CoreBase.horizontalAlignEnum; const verticalAlignmentEnum: typeof import("@bitbybit-dev/base").Base.verticalAlignmentEnum; type verticalAlignmentEnum = CoreBase.verticalAlignmentEnum; const topBottomEnum: typeof import("@bitbybit-dev/base").Base.topBottomEnum; type topBottomEnum = CoreBase.topBottomEnum; const basicAlignmentEnum: typeof import("@bitbybit-dev/base").Base.basicAlignmentEnum; type basicAlignmentEnum = CoreBase.basicAlignmentEnum; const unitOfLengthEnum: typeof import("@bitbybit-dev/base").Base.unitOfLengthEnum; type unitOfLengthEnum = CoreBase.unitOfLengthEnum; const colorMapStrategyEnum: typeof CoreBase.colorMapStrategyEnum; type colorMapStrategyEnum = CoreBase.colorMapStrategyEnum; type VerbCurve = CoreBase.VerbCurve; type VerbSurface = CoreBase.VerbSurface; /** Texture type for BabylonJS materials */ type Texture = any; /** * Which built-in skybox environment to use as the scene's background and image-based lighting: * default, clear sky, city or a plain grey gradient, or a photographed environment - a soft * studio, a partly cloudy sky, sunset, a clear day, fair weather, overcast, morning, dusk or * night. The skybox lights the model as well as filling the background, so * changing it changes how materials look. */ enum skyboxEnum { default = "default", clearSky = "clearSky", city = "city", greyGradient = "greyGradient", studio = "studio", partlyCloudy = "partlyCloudy", sunset = "sunset", clearDay = "clearDay", fairWeather = "fairWeather", overcast = "overcast", morning = "morning", dusk = "dusk", night = "night" } /** * How distance fog thickens: not at all, linearly between a start and an end distance, or * exponentially - squared exponential being the densest. Linear is the predictable one because you * set exactly where fog begins and ends. */ enum fogModeEnum { none = "none", exponential = "exponential", exponentialSquared = "exponentialSquared", linear = "linear" } /** * The direction a linear gradient runs, given either as a named direction such as to bottom right * or as an angle in degrees. The values match the CSS gradient syntax. */ enum gradientDirectionEnum { toTop = "to top", toTopRight = "to top right", toRight = "to right", toBottomRight = "to bottom right", toBottom = "to bottom", toBottomLeft = "to bottom left", toLeft = "to left", toTopLeft = "to top left", deg0 = "0deg", deg45 = "45deg", deg90 = "90deg", deg135 = "135deg", deg180 = "180deg", deg225 = "225deg", deg270 = "270deg", deg315 = "315deg" } /** * Where the center of a radial gradient sits, as a named position or a percentage pair. The values * match the CSS gradient syntax. */ enum gradientPositionEnum { center = "center", top = "top", topLeft = "top left", topRight = "top right", bottom = "bottom", bottomLeft = "bottom left", bottomRight = "bottom right", left = "left", right = "right", centerTop = "50% 0%", centerBottom = "50% 100%", leftCenter = "0% 50%", rightCenter = "100% 50%" } /** * The shape of a radial gradient: a circle, or an ellipse that stretches to its container. */ enum gradientShapeEnum { circle = "circle", ellipse = "ellipse" } /** * How a background image tiles: repeating in both directions, in one direction only, not at all, * or with space or round adjusting the tiles so they fit the area exactly. The values match the * CSS background-repeat syntax. */ enum backgroundRepeatEnum { repeat = "repeat", repeatX = "repeat-x", repeatY = "repeat-y", noRepeat = "no-repeat", space = "space", round = "round" } /** * How a background image is scaled to its area: at its natural size, covering the area and * cropping the overflow, or contained entirely within it with empty space around. The values match * the CSS background-size syntax. */ enum backgroundSizeEnum { auto = "auto", cover = "cover", contain = "contain" } /** * Whether a background image scrolls with its content, stays fixed to the viewport, or scrolls * within its own element. The values match the CSS background-attachment syntax. */ enum backgroundAttachmentEnum { scroll = "scroll", fixed = "fixed", local = "local" } /** * Which box a background image is positioned and clipped against - the padding, border or content * box. The values match the CSS background-origin and background-clip syntax. */ enum backgroundOriginClipEnum { paddingBox = "padding-box", borderBox = "border-box", contentBox = "content-box" } }