Skript-Schnittstelle (mabino-engine)Script API (mabino-engine)
Exporte von mabino-engine:Exports of mabino-engine:
| NameName | ArtKind | BeschreibungDescription |
|---|
Component | Wertvalue | Basisklasse jeder Komponente. Felder stehen in static fields, die App setzt sie aus dem Manifest. Lebenszyklus: awake → onEnable → start → (update → Animation → lateUpdate)* → onDisable → onDestroy. Ein Fehler schaltet nur diese Komponente ab.Base class of every component. Fields are declared in static fields; the app sets them from the manifest. Life cycle: awake → onEnable → start → (update → animation → lateUpdate)* → onDisable → onDestroy. An error disables only this component. |
field | Wertvalue | Hilfsfunktionen für static fields. Jede liefert eine FieldSpec; die Eigenschaft der Klasse trägt denselben Namen und Standardwert.Helpers for static fields. Each returns a FieldSpec; the class property has the same name and default. |
EventList | Wertvalue | Liste von Aufrufen (Feld field.event()), im Editor verdrahtet. Ruft nur normale Methoden: nichts vom Lebenszyklus, nichts mit Unterstrich.List of calls (field field.event()), wired in the editor. Calls only plain methods: nothing from the life cycle, nothing starting with an underscore. |
ComponentHelp | Typtype | Zweisprachige Hilfe einer Komponente; der Codegen schreibt sie in die Unity-Klasse.Bilingual help of a component; the codegen writes it into the Unity class. |
FieldSpec | Typtype | Beschreibung eines Feldes: Typ, Standardwert und Merkmale.Description of a field: type, default value and traits. |
LocalizedText | Typtype | Text in beiden Sprachen; beide sind Pflicht.Text in both languages; both are required. |
SceneContext | Typtype | Dienste der App für Komponenten (this.context). Optionale Dienste fehlen in Tests und Werkzeugen: Komponenten prüfen sie vor Gebrauch.App services for components (this.context). Optional services are missing in tests and tools: check them before use. |
ComponentRegistry | Typtype | Verzeichnis Name → Klasse. Das Skript-Bundle exportiert register(registry) und trägt dort seine Komponenten ein.Directory name → class. The script bundle exports register(registry) and registers its components there. |
World | Typtype | Die laufende Szene: Objekte nach Name, Komponenten je Objekt, Animation, Physik (this.world).The running scene: objects by name, components per object, animation, physics (this.world). |
NetworkChange | Typtype | Änderung eines Schlüssels.Change of a key. |
NetworkPeer | Typtype | Ein anderer Teilnehmer.Another participant. |
NetworkService | Typtype | Raum mit gemeinsamem Zustand (Schlüssel → Wert, optional mit Besitzer) und Nachrichten. Eigene Schlüssel mit eigenem Präfix benennen (z. B. acme/…).Room with shared state (key → value, optionally owned) and messages. Name your own keys with your own prefix (e.g. acme/…). |
NetworkStatus | Typtype | Verbindungszustand.Connection state. |
MediaConfig | Typtype | Einstellungen der Medienströme.Media stream settings. |
MediaService | Typtype | Geteilte Medienströme (WebRTC). Je Schlüssel teilt höchstens einer.Shared media streams (WebRTC). At most one shares per key. |
AppControls | Typtype | Bedienelemente, die Komponenten anfordern.Controls that components request. |
MicButton | Typtype | Der Mikrofon-Knopf.The microphone button. |
MicButtonState | Typtype | Zustand des Mikrofon-Knopfs.State of the microphone button. |
AppMenu | Typtype | Menü der App: Leiste unten, Ecken, in VR eine Tafel.App menu: bar at the bottom, corners, a panel in VR. |
MenuHandle | Typtype | Griff eines Menüknopfs.Handle of a menu button. |
MenuItemSpec | Typtype | Ein Knopf im Menü.A menu button. |
MenuGroup | Typtype | Gruppe eines Knopfs.Group of a button. |
MenuCorner | Typtype | Ort eines Knopfs.Place of a button. |
AppApi | Typtype | Funktionen der App für Komponenten und Seite. AR/VR nur aus einer Nutzergeste starten.App functions for components and page. Start AR/VR only from a user gesture. |
LiveAudioService | Typtype | Live-Ton für Sprache im Raum.Live audio for voice in the room. |
MicrophoneHandle | Typtype | Das eigene Mikrofon; stumm sendet Stille.The own microphone; muted sends silence. |
StreamVoice | Typtype | Eine laufende Live-Stimme.A running live voice. |
StreamVoiceOptions | Typtype | Klang einer Live-Stimme.Sound of a live voice. |
AnimationController | Typtype | Ein Mixer je Wurzel (world.animation(root)), geteilt von allen Komponenten dort. Ebenen, Überblendung, Marker, Culling.One mixer per root (world.animation(root)), shared by all components there. Layers, cross-fades, markers, culling. |
AnimationCulling | Typtype | Wann die Pose berechnet wird.When the pose is computed. |
AnimationLoop | Typtype | Wiederholung eines Clips.Looping of a clip. |
MarkerEvent | Typtype | Überschrittener Marker; das Objekt wird wiederverwendet.Crossed marker; the object is reused. |
MarkerListener | Typtype | Zuhörer für Marker.Marker listener. |
PlayOptions | Typtype | Optionen für play.Options for play. |
PlayResult | Typtype | Ergebnis von playAsync.Result of playAsync. |
ClipMarker | Typtype | Marker in einem Clip.Marker in a clip. |
BodyOptions | Typtype | Einstellungen eines Körpers.Settings of a body. |
ColliderOptions | Typtype | Einstellungen eines Colliders.Settings of a collider. |
ContactListener | Typtype | Meldung einer Berührung (anderes Objekt, Beginn/Ende).Contact report (other object, start/end). |
PhysicsBody | Typtype | Ein Körper.A body. |
PhysicsCollider | Typtype | Ein Collider.A collider. |
PhysicsSim | Typtype | Physik einer Szene (Rapier), world.physics(). Gerechnet im Raum der Szenen-Wurzel, Meter, Schwerkraft −Y.Physics of a scene (Rapier), world.physics(). Computed in the scene root’s space, metres, gravity −Y. |
PhysicsStats | Typtype | Zahlen der Physik.Physics numbers. |
THREE | Wertvalue | three.js (dieselbe Instanz wie die App)three.js (the same instance as the app) |
Komponenten schreibenWriting components
Component
classsrc/scene/component.ts
Basisklasse jeder Komponente. Felder stehen in static fields, die App setzt sie aus dem Manifest. Lebenszyklus: awake → onEnable → start → (update → Animation → lateUpdate)* → onDisable → onDestroy. Ein Fehler schaltet nur diese Komponente ab.Base class of every component. Fields are declared in static fields; the app sets them from the manifest. Life cycle: awake → onEnable → start → (update → animation → lateUpdate)* → onDisable → onDestroy. An error disables only this component.
import { Component } from 'mabino-engine'
static readonly fields: FieldSchema | Feld-Schema: Name → Feldbeschreibung (field.*). Bestimmt Prüfung, Standardwerte und die Felder im Unity-Inspector.Field schema: name → field spec (field.*). Drives validation, defaults and the fields in the Unity Inspector. |
static readonly help: ComponentHelp | undefined | Zweisprachige Hilfe für Unity (Inspector, Hilfefenster). Optional, alternativ dritter Parameter von register.Bilingual help for Unity (Inspector, help window). Optional; alternatively the third parameter of register. |
gameObject: THREE.Object3D | Das three.js-Objekt, an dem die Komponente hängt.The three.js object the component is attached to. |
context: SceneContext | Dienste der App (Ton, Video, Netz, Menü …), siehe SceneContext.App services (audio, video, network, menu …), see SceneContext. |
world: World | null | Die Szene, zu der die Komponente gehört (null vor dem Einfügen).The scene the component belongs to (null before it is added). |
typeName = '' | Registrierter Typname, wie im Manifest.Registered type name, as in the manifest. |
enabled = true | false: kein update, keine Eingaben. Setzt die App auch bei einem Fehler.false: no update, no input. The app also sets it after an error. |
capturesPointer = false | true: Drücken, Ziehen, Loslassen auf dem Objekt gehen an die Komponente, die Ansicht dreht sich dann nicht.true: press, drag and release on the object go to the component; the view does not rotate. |
awake(): void | Einmal, nachdem alle Komponenten existieren und Verweise aufgelöst sind.Once, after all components exist and references are resolved. |
onEnable(): void | Die Komponente wird aktiv (auch beim ersten Mal, vor start).The component becomes active (also the first time, before start). |
start(): void | Einmal vor dem ersten update.Once before the first update. |
update(_dt: number): void | Jedes Bild, dt in Sekunden.Every frame, dt in seconds. |
lateUpdate(_dt: number): void | Jedes Bild nach allen update-Aufrufen und der Animation.Every frame after all updates and the animation. |
onSelect(): void | Objekt angetippt oder angeklickt (auch Controller in VR).Object tapped or clicked (also a controller in VR). |
onHoverEnter(): void | Zeiger kommt über das Objekt (Maus, VR-Strahl).Pointer enters the object (mouse, VR ray). |
onHoverExit(): void | Zeiger verlässt das Objekt.Pointer leaves the object. |
onPointerDown(_e: PointerData): void | Zeiger gedrückt (nur mit capturesPointer).Pointer pressed (only with capturesPointer). |
onPointerMove(_e: PointerData): void | Gedrückter Zeiger bewegt sich, auch außerhalb des Objekts.Pressed pointer moves, also outside the object. |
onPointerUp(_e: PointerData): void | Zeiger losgelassen oder abgebrochen.Pointer released or cancelled. |
onDisable(): void | Die Komponente wird inaktiv (Objekt ausgeblendet, enabled false).The component becomes inactive (object hidden, enabled false). |
onDestroy(): void | Die Szene wird entfernt: Aufräumen.The scene is removed: clean up. |
getComponent<T extends Component>(cls: abstract new () => T): T | null | Komponente einer Klasse am selben Objekt.Component of a class on the same object. |
findObject(name: string): THREE.Object3D | null | Objekt der Szene nach Namen.Scene object by name. |
PointerData
interfacesrc/scene/component.ts
Zeiger-Ereignis mit Strahl im Weltraum (Maus, Finger, Controller).Pointer event with a ray in world space (mouse, finger, controller).
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly id: number | Nummer des Zeigers.Pointer number. |
readonly ray: THREE.Ray | Strahl in Weltkoordinaten.Ray in world coordinates. |
readonly point: THREE.Vector3 | null | Getroffener Punkt beim Drücken, sonst null.Hit point on press, otherwise null. |
field
constsrc/scene/component.ts
Hilfsfunktionen für static fields. Jede liefert eine FieldSpec; die Eigenschaft der Klasse trägt denselben Namen und Standardwert.Helpers for static fields. Each returns a FieldSpec; the class property has the same name and default.
import { field } from 'mabino-engine'
number(def = 0): FieldSpec | Zahl.Number. |
string(def = ''): FieldSpec | Text.Text. |
boolean(def = false): FieldSpec | Wahrheitswert.Boolean. |
numbers(def: readonly number[] = []): FieldSpec | Liste von Zahlen.List of numbers. |
vec3(def: readonly [number, number, number] = [0, 0, 0]): FieldSpec | Drei Zahlen [x, y, z], roh (Größen, Faktoren).Three numbers [x, y, z], raw (sizes, factors). |
color(def = '#ffffff'): FieldSpec | Farbe "#rrggbb".Colour "#rrggbb". |
enum(values: readonly string[], def?: string, legacy?: Readonly<Record<string, string>>): FieldSpec | Auswahl aus festen Werten (gültige C#-Namen); legacy bildet frühere Werte ab.Choice of fixed values (valid C# names); legacy maps former values. |
node(): FieldSpec | Verweis auf ein Objekt (Name im Manifest, zur Laufzeit Object3D oder null).Reference to an object (name in the manifest, Object3D or null at runtime). |
component(component: string): FieldSpec | Verweis auf eine Komponente dieses Typs an einem Objekt.Reference to a component of this type on an object. |
material(): FieldSpec | Verweis auf ein Material der GLB.Reference to a material of the GLB. |
clip(): FieldSpec | Verweis auf einen Animationsclip der GLB.Reference to an animation clip of the GLB. |
asset(kind: AssetKind): FieldSpec | Datei neben der GLB (audio, video, image, font, model, scan); zur Laufzeit die absolute Adresse.File next to the GLB (audio, video, image, font, model, scan); the absolute URL at runtime. |
event(): FieldSpec | EventList: Aufrufe ohne Code verdrahten.EventList: wire calls without code. |
advanced(spec: FieldSpec): FieldSpec | Im Unity-Inspector unter „Advanced“.Shown under “Advanced” in the Unity Inspector. |
derived(spec: FieldSpec): FieldSpec | Füllt der Exporter; in Unity kein eigenes Feld.Filled by the exporter; no field of its own in Unity. |
choices(spec: FieldSpec, source: ChoiceSource): FieldSpec | Textfeld mit Auswahlliste in Unity (Zustände, Marker, Parameter).Text field with a choice list in Unity (states, markers, parameters). |
percent(def = 1): FieldSpec | Anteil 0 … 1, in Unity als Regler 0–100 %.Fraction 0 … 1, a 0–100 % slider in Unity. |
boneMask(): FieldSpec | Knochenauswahl +Spine|-Neck, in Unity als anklickbare Figur.Bone selection +Spine|-Neck, a clickable figure in Unity. |
position(def: readonly [number, number, number] = [0, 0, 0]): FieldSpec | Position in Metern im Elternobjekt; Unity rechnet die Achsen um.Position in metres in the parent; Unity converts the axes. |
euler(def: readonly [number, number, number] = [0, 0, 0]): FieldSpec | Drehung in Grad (YXZ wie Unity); Unity rechnet die Achsen um.Rotation in degrees (YXZ like Unity); Unity converts the axes. |
spaceBy(spec: FieldSpec, other: string): FieldSpec | vec3, dessen Bedeutung ein enum-Feld nennt (position, rotation, scale).vec3 whose meaning another enum field names (position, rotation, scale). |
showIf(spec: FieldSpec, other: string, ...values: string[]): FieldSpec | In Unity nur sichtbar, wenn ein anderes Feld einen der Werte hat.Visible in Unity only if another field has one of the values. |
FieldSpec
typesrc/scene/component.ts
Beschreibung eines Feldes: Typ, Standardwert und Merkmale.Description of a field: type, default value and traits.
import type { FieldSpec } from 'mabino-engine'
export type FieldSpec = FieldMeta & (
| { readonly type: 'number'; readonly default: number }
| { readonly type: 'string'; readonly default: string }
| { readonly type: 'boolean'; readonly default: boolean }
| { readonly type: 'numbers'; readonly default: readonly number[] }
| { readonly type: 'vec3'; readonly default: readonly [number, number, number] }
| { readonly type: 'color'; readonly default: string }
| { readonly type: 'enum'; readonly values: readonly string[]; readonly default: string }
| { readonly type: 'node'; readonly default: null }
| { readonly type: 'component'; readonly component: string; readonly default: null }
| { readonly type: 'material'; readonly default: null }
| { readonly type: 'clip'; readonly default: null }
| { readonly type: 'asset'; readonly kind: AssetKind; readonly default: null }
| { readonly type: 'event'; readonly default: readonly [] }
);
FieldMeta
interfacesrc/scene/component.ts
Merkmale eines Feldes für den Unity-Inspector; zur Laufzeit ohne Bedeutung.Traits of a field for the Unity Inspector; no effect at runtime.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly advanced?: boolean | Unter „Advanced“.Under “Advanced”. |
readonly derived?: boolean | Vom Exporter gefüllt.Filled by the exporter. |
readonly choices?: ChoiceSource | Quelle der Auswahlliste.Source of the choice list. |
readonly percent?: boolean | Regler in Prozent.Percent slider. |
readonly boneMask?: boolean | Knochenauswahl.Bone selection. |
readonly legacy?: Readonly<Record<string, string>> | Frühere enum-Werte → heutiger Wert.Former enum values → current value. |
readonly showIf?: { readonly field: string; readonly values: readonly string[] } | Sichtbar nur bei diesen Werten eines anderen Feldes.Visible only for these values of another field. |
readonly space?: 'position' | 'euler' | position oder euler: Unity rechnet die Achsen um.position or euler: Unity converts the axes. |
readonly spaceBy?: string | Ein enum-Feld entscheidet über den Raum.An enum field decides the space. |
AssetKind
typesrc/scene/component.ts
Art einer Datei neben der GLB.Kind of a file next to the GLB.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type AssetKind = 'audio' | 'video' | 'image' | 'font' | 'model' | 'scan' | 'usdz';
ChoiceSource
typesrc/scene/component.ts
Woher die Auswahlliste eines Textfelds in Unity kommt.Where the choice list of a text field in Unity comes from.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type ChoiceSource = 'animatorStates' | 'animationMarkers' | 'animatorParameters';
HelpCategory
typesrc/scene/component.ts
Rubrik einer Komponente (Menü und Gruppierung in Unity).Category of a component (menu and grouping in Unity).
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type HelpCategory = 'interaction' | 'physics' | 'animation' | 'media' | 'rendering' | 'xr' | 'network' | 'scene' | 'utility';
LocalizedText
interfacesrc/scene/component.ts
Text in beiden Sprachen; beide sind Pflicht.Text in both languages; both are required.
import type { LocalizedText } from 'mabino-engine'
readonly de: string | Deutsch.German. |
readonly en: string | Englisch.English. |
ComponentHelp
interfacesrc/scene/component.ts
Zweisprachige Hilfe einer Komponente; der Codegen schreibt sie in die Unity-Klasse.Bilingual help of a component; the codegen writes it into the Unity class.
import type { ComponentHelp } from 'mabino-engine'
readonly category: HelpCategory | Rubrik.Category. |
readonly summary: LocalizedText | Ein bis zwei Sätze, was die Komponente tut.One or two sentences on what the component does. |
readonly tips?: LocalizedText | Hinweise und Stolperstellen.Hints and pitfalls. |
readonly fields?: Readonly<Record<string, LocalizedText>> | Beschreibung je Feld (Tooltip in Unity).Description per field (tooltip in Unity). |
readonly actions?: Readonly<Record<string, LocalizedText>> | Aufrufbare Methoden mit Beschreibung (Knöpfe, EventLists, Seite, DebugActions).Callable methods with description (buttons, EventLists, page, DebugActions). |
readonly partOf?: readonly string[] | Familie: ergänzt diese Hauptkomponenten (Anzeige in Unity).Family: extends these main components (display in Unity). |
readonly unityComponent?: string | In Unity mit Unitys eigener Komponente angelegt (Rigidbody, Collider).Created in Unity with Unity’s own component (Rigidbody, Collider). |
readonly searchAs?: string | Suchwort hinter dem Namen unter Add Component in Unity, z. B. „Mabino QuickLook (USDZ)“ (seit 0.89.1).Search word after the name under Add Component in Unity, e.g. “Mabino QuickLook (USDZ)” (since 0.89.1). |
ComponentRegistry
classsrc/scene/registry.ts
Verzeichnis Name → Klasse. Das Skript-Bundle exportiert register(registry) und trägt dort seine Komponenten ein.Directory name → class. The script bundle exports register(registry) and registers its components there.
import type { ComponentRegistry } from 'mabino-engine'
register(name: string, cls: ComponentClass, help?: ComponentHelp): void | Komponente eintragen. Name = Typ im Manifest und Name der Unity-Klasse; eindeutig im ganzen Projekt.Register a component. Name = type in the manifest and name of the Unity class; unique in the whole project. |
helpOf(name: string): ComponentHelp | undefined | Hilfe einer Komponente.Help of a component. |
has(name: string): boolean | Ist der Name eingetragen?Is the name registered? |
get names(): readonly string[] | Alle Namen.All names. |
entries(): ReadonlyArray<readonly [string, ComponentClass]> | Alle Einträge (Name, Klasse).All entries (name, class). |
instantiate(spec: ComponentSpec, target: THREE.Object3D, context: SceneContext): Component | Komponente erzeugen und Felder setzen, ohne awake (Werkzeuge, Tests).Create a component and set its fields, without awake (tools, tests). |
create(spec: ComponentSpec, target: THREE.Object3D, context: SceneContext): Component | Wie instantiate, ruft gleich awake (Werkzeuge, Tests).Like instantiate, calls awake at once (tools, tests). |
EventList
classsrc/scene/event-list.ts
Liste von Aufrufen (Feld field.event()), im Editor verdrahtet. Ruft nur normale Methoden: nichts vom Lebenszyklus, nichts mit Unterstrich.List of calls (field field.event()), wired in the editor. Calls only plain methods: nothing from the life cycle, nothing starting with an underscore.
import { EventList } from 'mabino-engine'
static readonly empty: EventList | Leere Liste.Empty list. |
get length(): number | Zahl der Aufrufe.Number of calls. |
invoke(): void | Alle Aufrufe auslösen; ein Fehler stoppt die übrigen nicht.Trigger all calls; an error does not stop the others. |
Dienste der App (this.context)App services (this.context)
SceneContext
interfacesrc/scene/component.ts
Dienste der App für Komponenten (this.context). Optionale Dienste fehlen in Tests und Werkzeugen: Komponenten prüfen sie vor Gebrauch.App services for components (this.context). Optional services are missing in tests and tools: check them before use.
import type { SceneContext } from 'mabino-engine'
showInfo(title: string, text: string): void | Infotafel zeigen (Titel, Text).Show an info panel (title, text). |
openUrl(url: string, target: '_blank' | '_self'): void | Adresse öffnen; die App entscheidet, was erlaubt ist.Open a URL; the app decides what is allowed. |
readonly audio?: AudioService | Ton (AudioService).Audio (AudioService). |
readonly video?: VideoService | Video und Kamera (VideoService).Video and camera (VideoService). |
readonly viewer?: Viewer | Vorschau-Kamera (Viewer).Preview camera (Viewer). |
readonly session?: SessionInfo | Modus der App (SessionInfo).App mode (SessionInfo). |
readonly environment?: EnvironmentService | Hintergrund, Nebel, Himmel (EnvironmentService).Background, fog, sky (EnvironmentService). |
readonly network?: NetworkService | Raum und gemeinsamer Zustand (NetworkService).Room and shared state (NetworkService). |
readonly media?: MediaService | Geteilte Medienströme (MediaService).Shared media streams (MediaService). |
readonly controls?: AppControls | Bedienelemente wie der Mikrofon-Knopf (AppControls).Controls such as the microphone button (AppControls). |
readonly menu?: AppMenu | Menü der App (AppMenu).App menu (AppMenu). |
readonly app?: AppApi | AR/VR starten, platzieren, teilen (AppApi).Start AR/VR, place, share (AppApi). |
readonly imageTracking?: ImageTrackingService | Bild- und Dosen-Tracking (ImageTrackingService).Image and can tracking (ImageTrackingService). |
readonly faceTracking?: FaceTrackingService | Face-Tracking (FaceTrackingService).Face tracking (FaceTrackingService). |
readonly postEffects?: import('./post').PostEffectsService | Nachbearbeitung des Bildes (PostEffectsService).Post-processing (PostEffectsService). |
readonly loadModel?: (url: string) => Promise<{ scene: THREE.Group; animations: THREE.AnimationClip[] } | GLB laden (mit Draco und KTX2 der App).Load a GLB (with the app’s Draco and KTX2). |
SessionInfo
interfacesrc/scene/session.ts
Modus der App für Komponenten.App mode for components.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly mode: DisplayMode | preview, ar oder vr.preview, ar or vr. |
onChange(callback: (mode: DisplayMode) => void): () => void | Meldet Modus-Wechsel, auch an inaktive Komponenten; liefert die Abmeldung.Reports mode changes, also to inactive components; returns the unsubscribe. |
readonly development?: boolean | Läuft im Entwicklungsserver (Testknöpfe sichtbar).Running in the development server (test buttons visible). |
readonly build?: { readonly app: string; readonly slam: string } | Versionen von App und SLAM-Pipeline für Anzeigen.Versions of the app and SLAM pipeline for displays. |
DisplayMode
typesrc/scene/session.ts
Anzeigemodus der App.Display mode of the app.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type DisplayMode = 'preview' | 'ar' | 'vr';
Viewer
interfacesrc/scene/viewer.ts
Die Vorschau-Kamera (Orbit) am Rechner und Handy ohne AR/VR.The preview camera (orbit) on desktop and phone without AR/VR.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
configureOrbit(settings: OrbitSettings): void | Orbit einstellen (OrbitSettings).Configure the orbit (OrbitSettings). |
useCamera?(camera: THREE.PerspectiveCamera): void | Startblick aus einer Kamera der Szene übernehmen.Take the start view from a scene camera. |
readonly element?: HTMLElement | Die Zeichenfläche (für Mausrad, Wischen).The canvas (for mouse wheel, swipes). |
holdOrbit?(): () => void | Orbit aussetzen (Kamerafahrt); liefert die Freigabe.Suspend the orbit (camera ride); returns the release. |
resumeOrbitAt?(target: THREE.Vector3): void | Orbit an der aktuellen Lage neu aufsetzen, um diesen Punkt.Resume the orbit from the current pose around this point. |
moveView?(offset: THREE.Matrix4): void | Blick starr versetzen (Matrix).Move the view rigidly (matrix). |
enableLocalClipping?(): void | Schnittebenen an Materialien erlauben (SlicingPlane).Allow clipping planes on materials (SlicingPlane). |
OrbitSettings
interfacesrc/scene/viewer.ts
Einstellungen der Orbit-Kamera; in AR und VR ohne Wirkung.Settings of the orbit camera; no effect in AR and VR.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly target?: THREE.Vector3 | Drehpunkt.Pivot point. |
readonly fromCamera?: boolean | Einstellungen kommen von der exportierten Kamera.Settings come from the exported camera. |
readonly distance?: number | Abstand zum Ziel (0: unverändert).Distance to the target (0: unchanged). |
readonly minDistance: number | Kleinster Abstand.Minimum distance. |
readonly maxDistance: number | Größter Abstand (0: unbegrenzt).Maximum distance (0: unlimited). |
readonly autoRotate: boolean | Selbst drehen.Rotate by itself. |
readonly autoRotateSpeed: number | Tempo des Selbstdrehens (2 = 30 s je Runde).Auto-rotate speed (2 = 30 s per turn). |
readonly enableZoom: boolean | Zoomen erlaubt.Zoom allowed. |
readonly enablePan: boolean | Verschieben erlaubt.Pan allowed. |
readonly minPolarAngle: number | Kleinster Winkel von oben (Radiant).Minimum angle from above (radians). |
readonly maxPolarAngle: number | Größter Winkel von oben (Radiant).Maximum angle from above (radians). |
readonly zoomToCursor?: boolean | Zum Mauszeiger zoomen.Zoom towards the cursor. |
readonly focusOnDoubleClick?: boolean | Doppelklick fährt zur Stelle.Double click moves to the spot. |
readonly zoomSpeed?: number | Faktor Zoom.Zoom factor. |
readonly panSpeed?: number | Faktor Verschieben.Pan factor. |
readonly rotateSpeed?: number | Faktor Drehen.Rotate factor. |
EnvironmentService
interfacesrc/scene/environment.ts
Hintergrund, Nebel, Skybox und Umgebungslicht der Szene.Background, fog, skybox and environment light of the scene.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
apply(settings: EnvironmentSettings): void | Einstellungen übernehmen (die zuletzt gesetzten gelten).Apply settings (the last ones win). |
setBackgroundLayer?(background: CameraBackground | null): void | Hintergrund der Kamera setzen oder mit null zurücknehmen.Set the camera background or remove it with null. |
reset(): void | Zurück zum Standard der App.Back to the app default. |
setSkyLight?(source: unknown | null, options?: { readonly intensity?: number; readonly hideBackground?: boolean }): void | Himmelslicht aus einer Szene (SunSky).Sky light from a scene (SunSky). |
EnvironmentSettings
interfacesrc/scene/environment.ts
Umgebung einer Szene.Environment of a scene.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly background: string | null | Hintergrundfarbe oder null (Hintergrund der Szene).Background colour or null (the scene’s background). |
readonly skyboxUrl: string | null | Bild im Kugelformat oder null.Equirectangular image or null. |
readonly skyboxAsBackground: boolean | Skybox sichtbar als Hintergrund.Skybox visible as background. |
readonly environmentLighting: boolean | Skybox beleuchtet und spiegelt sich.Skybox lights and reflects. |
readonly fog: EnvironmentFog | null | Nebel oder null.Fog or null. |
readonly ground?: { readonly height: number; readonly radius: number } | null | Bodenprojektion der Skybox.Ground projection of the skybox. |
EnvironmentFog
interfacesrc/scene/environment.ts
Nebel.Fog.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly color: string | Farbe.Colour. |
readonly near: number | Beginn (linear).Start (linear). |
readonly far: number | Ende (linear).End (linear). |
readonly mode?: FogMode | Verlauf (ohne Angabe linear).Falloff (linear if missing). |
readonly density?: number | Dichte je Meter (exponentiell).Density per metre (exponential). |
CameraBackground
typesrc/scene/environment.ts
Hintergrund der Kamera: Farbe, Verlauf oder Skybox.Camera background: colour, gradient or skybox.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type CameraBackground =
| { readonly kind: 'color'; readonly color: string }
| { readonly kind: 'gradient'; readonly shape: 'radial' | 'vertical'; readonly color: string; readonly color2: string; readonly size: number }
| { readonly kind: 'skybox'; readonly url: string | null };
PostEffectsService
interfacesrc/scene/post.ts
Nachbearbeitung des Bildes.Post-processing of the image.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
apply(settings: PostSettings | null): void | Einstellungen setzen; null = zurück zu denen der Szene.Set settings; null = back to those of the scene. |
PostSettings
interfacesrc/scene/post.ts
Effekte; null schaltet einen Effekt ab.Effects; null turns an effect off.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly bloom: { readonly strength: number; readonly radius: number; readonly threshold: number } | null | Leuchten heller Stellen.Glow of bright areas. |
readonly ao: { readonly radius: number; readonly intensity: number } | null | Ambient Occlusion.Ambient occlusion. |
readonly dof: { readonly focus: number; readonly aperture: number; readonly blur: number } | null | Tiefenschärfe.Depth of field. |
readonly vignette: { readonly darkness: number; readonly offset: number } | null | Dunkle Bildränder.Dark edges. |
readonly color: { readonly contrast: number; readonly saturation: number } | null | Kontrast und Sättigung.Contrast and saturation. |
readonly antialias: 'msaa' | 'smaa' | 'none' | Kantenglättung msaa, smaa oder none.Anti-aliasing msaa, smaa or none. |
readonly onPhones: boolean | Auch auf Handys (sonst nur am Rechner).Also on phones (otherwise desktop only). |
AppApi
interfacesrc/scene/app.ts
Funktionen der App für Komponenten und Seite. AR/VR nur aus einer Nutzergeste starten.App functions for components and page. Start AR/VR only from a user gesture.
import type { AppApi } from 'mabino-engine'
startAr(): Promise<void> | AR starten.Start AR. |
startVr(): Promise<void> | VR starten.Start VR. |
exitXr(): void | AR oder VR beenden.Exit AR or VR. |
placeAgain(): void | In AR neu platzieren.Place again in AR. |
shareRoomLink(): Promise<void> | Link zum Raum teilen.Share the room link. |
takePhoto?(): Promise<void> | Foto der Szene (teilen oder herunterladen).Photo of the scene (share or download). |
quickLook?(): Promise<void> | Szene in AR Quick Look öffnen (iPhone, iPad; aus einer Nutzergeste), seit 0.89.0.Open the scene in AR Quick Look (iPhone, iPad; from a user gesture), since 0.89.0. |
MenuHandle
interfacesrc/scene/menu.ts
Griff eines Menüknopfs.Handle of a menu button.
import type { MenuHandle } from 'mabino-engine'
update(changes: Partial<MenuItemSpec>): void | Eigenschaften ändern.Change properties. |
remove(): void | Knopf entfernen.Remove the button. |
AppControls
interfacesrc/scene/controls.ts
Bedienelemente, die Komponenten anfordern.Controls that components request.
import type { AppControls } from 'mabino-engine'
microphone(handlers: { press(): void; release(): void }): MicButton | Mikrofon-Knopf anlegen (Drücken/Loslassen).Create the microphone button (press/release). |
MicButton
interfacesrc/scene/controls.ts
Der Mikrofon-Knopf.The microphone button.
import type { MicButton } from 'mabino-engine'
update(state: MicButtonState): void | Zustand anzeigen.Show the state. |
dispose(): void | Knopf entfernen.Remove the button. |
MicButtonState
interfacesrc/scene/controls.ts
Zustand des Mikrofon-Knopfs.State of the microphone button.
import type { MicButtonState } from 'mabino-engine'
readonly muted: boolean | Stumm.Muted. |
readonly level: number | Eigene Lautstärke 0 … 1.Own level 0 … 1. |
readonly pushToTalk: boolean | Drücken zum Sprechen.Push to talk. |
readonly busy: boolean | Mikrofon öffnet gerade.Microphone is opening. |
AudioService
interfacesrc/scene/audio.ts
Tonausgabe für Komponenten (Web Audio über three.js); startet nach der ersten Nutzergeste.Audio output for components (Web Audio via three.js); starts after the first user gesture.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
createVoice(owner: THREE.Object3D, options: AudioVoiceOptions): AudioVoice | Tonquelle an einem Objekt erzeugen.Create a sound source on an object. |
readonly live?: LiveAudioService | Live-Ton (Sprache im Raum).Live audio (voice in the room). |
readonly reverb?: ReverbOutput | Raumhall.Room reverb. |
setMasterVolume?(volume: number): void | Gesamtlautstärke 0 … 1.Master volume 0 … 1. |
readonly masterVolume?: number | Aktuelle Gesamtlautstärke.Current master volume. |
duck?(amount: number): void | Szene leiser stellen (0 … 1), z. B. während einer Erklärung.Lower the scene (0 … 1), e.g. during a narration. |
AudioVoice
interfacesrc/scene/audio.ts
Eine Tonquelle; Befehle vor dem Laden werden nachgeholt.A sound source; commands before loading are replayed.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly playing: boolean | Spielt gerade.Is playing. |
play(): void | Von vorn.From the start. |
resume(): void | Weiterspielen.Resume. |
pause(): void | Anhalten.Pause. |
stop(): void | Anhalten und zurück an den Anfang.Stop and rewind. |
setVolume(volume: number): void | Lautstärke.Volume. |
setPitch?(rate: number): void | Tempo und Tonhöhe.Rate and pitch. |
setOcclusion?(amount: number): void | Verdeckung 0 … 1.Occlusion 0 … 1. |
readonly time?: number | Abspielstelle in Sekunden.Playback position in seconds. |
readonly duration?: number | Länge in Sekunden.Duration in seconds. |
playFrom?(seconds: number): void | Ab dieser Stelle spielen.Play from this position. |
dispose(): void | Freigeben.Release. |
AudioVoiceOptions
interfacesrc/scene/audio.ts
Einstellungen einer Tonquelle.Settings of a sound source.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly url: string | Adresse der Datei (aus einem asset-Feld).File URL (from an asset field). |
readonly spatial: boolean | Raumklang.Spatial sound. |
readonly volume: number | Lautstärke.Volume. |
readonly loop: boolean | Schleife.Loop. |
readonly refDistance: number | Bis hier volle Lautstärke.Full volume up to here. |
readonly maxDistance: number | Ab hier nicht leiser.No quieter beyond this. |
readonly rolloff: number | Wie schnell es leiser wird.How fast it fades. |
readonly distanceModel?: DistanceModel | Abfallkurve.Falloff curve. |
readonly cone?: AudioCone | null | Richtwirkung.Directivity. |
readonly pitch?: number | Tempo und Tonhöhe.Rate and pitch. |
AudioCone
interfacesrc/scene/audio.ts
Richtwirkung entlang +Z des Objekts.Directivity along +Z of the object.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly inner: number | Innerer Winkel (Grad).Inner angle (degrees). |
readonly outer: number | Äußerer Winkel (Grad).Outer angle (degrees). |
readonly outerVolume: number | Lautstärke außerhalb.Volume outside. |
DistanceModel
typesrc/scene/audio.ts
Abfallkurve des Raumklangs.Falloff curve of spatial sound.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type DistanceModel = 'inverse' | 'linear' | 'exponential';
ReverbOutput
interfacesrc/scene/audio.ts
Raumhall hinter allem, was die Szene abspielt.Room reverb behind everything the scene plays.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
set(settings: ReverbSettings | null, amount: number): void | Hall mit Stärke setzen; null = kein Hall.Set reverb with strength; null = none. |
LiveAudioService
interfacesrc/scene/audio.ts
Live-Ton für Sprache im Raum.Live audio for voice in the room.
import type { LiveAudioService } from 'mabino-engine'
createStreamVoice(owner: THREE.Object3D, stream: MediaStream, options: StreamVoiceOptions): StreamVoice | Stimme eines anderen Teilnehmers abspielen.Play another participant’s voice. |
createMicrophone(): MicrophoneHandle | Eigenes Mikrofon.Own microphone. |
StreamVoice
interfacesrc/scene/audio.ts
Eine laufende Live-Stimme.A running live voice.
import type { StreamVoice } from 'mabino-engine'
readonly level: number | Lautstärke der letzten Momente.Recent level. |
setVolume(volume: number): void | Lautstärke.Volume. |
dispose(): void | Beenden.Dispose. |
StreamVoiceOptions
interfacesrc/scene/audio.ts
Klang einer Live-Stimme.Sound of a live voice.
import type { StreamVoiceOptions } from 'mabino-engine'
readonly spatial: boolean | Raumklang am Objekt.Spatial at the object. |
readonly volume: number | Lautstärke.Volume. |
readonly refDistance: number | Bis hier volle Lautstärke.Full volume up to here. |
readonly maxDistance: number | Ab hier nicht leiser.No quieter beyond this. |
readonly rolloff: number | Wie schnell es leiser wird.How fast it fades. |
MicrophoneHandle
interfacesrc/scene/audio.ts
Das eigene Mikrofon; stumm sendet Stille.The own microphone; muted sends silence.
import type { MicrophoneHandle } from 'mabino-engine'
readonly stream: MediaStream | null | Strom, sobald offen.Stream once open. |
readonly muted: boolean | Stumm.Muted. |
readonly level: number | Eigene Lautstärke.Own level. |
open(): Promise<boolean> | Öffnen (Erlaubnisdialog); false, wenn es nicht geht.Open (permission prompt); false if not possible. |
setMuted(muted: boolean): void | Stumm schalten.Mute. |
onError(callback: (message: string) => void): void | Fehlermeldungen.Error messages. |
close(): void | Schließen.Close. |
VideoService
interfacesrc/scene/video.ts
Video, Kamera und fremde Ströme als Textur.Video, camera and remote streams as a texture.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
createVideo(options: VideoOptions): VideoHandle | Videodatei.Video file. |
createWebcam(options: WebcamOptions): VideoHandle | Livebild einer Kamera (öffnet beim ersten play).Live camera image (opens on the first play). |
createStreamVideo?(): StreamVideoHandle | Fremder Strom (geteilte Kamera).Remote stream (shared camera). |
VideoHandle
interfacesrc/scene/video.ts
Ein Video als Textur.A video as a texture.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly texture: THREE.Texture | Aktuelles Bild.Current frame. |
readonly aspect: number | Breite durch Höhe.Width by height. |
readonly playing: boolean | Spielt.Playing. |
readonly stream?: MediaStream | null | Kamerastrom (Webcam).Camera stream (webcam). |
onError(callback: (message: string) => void): void | Fehlermeldungen.Error messages. |
onAspect(callback: (aspect: number) => void): void | Seitenverhältnis bekannt.Aspect ratio known. |
play(): void | Von vorn.From the start. |
resume(): void | Weiter.Resume. |
pause(): void | Anhalten.Pause. |
stop(): void | Anhalten und zurück.Stop and rewind. |
setVolume(volume: number): void | Lautstärke.Volume. |
setMuted(muted: boolean): void | Stumm.Mute. |
dispose(): void | Freigeben.Release. |
VideoOptions
interfacesrc/scene/video.ts
Einstellungen eines Videos.Settings of a video.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly url: string | Adresse der Datei.File URL. |
readonly loop: boolean | Schleife.Loop. |
readonly muted: boolean | Stumm starten (Autostart ohne Geste).Start muted (autoplay without gesture). |
readonly volume: number | Lautstärke.Volume. |
WebcamOptions
interfacesrc/scene/video.ts
Welche Kamera.Which camera.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly facing: 'user' | 'environment' | user (vorn) oder environment (hinten).user (front) or environment (back). |
StreamVideoHandle
interfacesrc/scene/video.ts
Zeigt einen Strom von woanders.Shows a stream from elsewhere.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
setStream(stream: MediaStream | null): void | Strom setzen oder mit null leeren.Set the stream or clear it with null. |
Mehrere NutzerMultiple users
NetworkService
interfacesrc/scene/network.ts
Raum mit gemeinsamem Zustand (Schlüssel → Wert, optional mit Besitzer) und Nachrichten. Eigene Schlüssel mit eigenem Präfix benennen (z. B. acme/…).Room with shared state (key → value, optionally owned) and messages. Name your own keys with your own prefix (e.g. acme/…).
import type { NetworkService } from 'mabino-engine'
readonly status: NetworkStatus | offline, connecting, connected.offline, connecting, connected. |
readonly id: string | null | Eigene Kennung (neu je Verbindung).Own id (new per connection). |
readonly room: string | null | Raum.Room. |
readonly peers: readonly NetworkPeer[] | Die anderen Teilnehmer.The other participants. |
readonly iceServers?: readonly RTCIceServer[] | STUN/TURN vom Relay.STUN/TURN from the relay. |
join(room: string, options?: NetworkJoinOptions): void | Raum betreten.Join a room. |
leave(): void | Raum verlassen.Leave the room. |
get(key: string): unknown | Wert lesen.Read a value. |
has(key: string): boolean | Schlüssel vorhanden?Key present? |
owner(key: string): string | null | Besitzer des Schlüssels.Owner of the key. |
keys(prefix?: string): string[] | Schlüssel mit diesem Präfix.Keys with this prefix. |
set(key: string, value: unknown, options?: NetworkSetOptions): boolean | Wert setzen (lokal sofort); false, wenn ein anderer ihn hält.Set a value (locally at once); false if someone else owns it. |
release(key: string): void | Besitz abgeben.Release ownership. |
delete(key: string): void | Schlüssel löschen.Delete the key. |
send(channel: string, data: unknown, to?: string): void | Flüchtige Nachricht an alle oder einen.Volatile message to all or one. |
onChange(listener: (change: NetworkChange) => void): () => void | Änderungen von Schlüsseln.Key changes. |
onMessage(channel: string, listener: (data: unknown, from: string) => void): () => void | Nachrichten eines Kanals.Messages of a channel. |
onStatus(listener: () => void): () => void | Status, Teilnehmer oder Raum geändert.Status, participants or room changed. |
whenSettled?(done: () => void): void | Rückruf, sobald der Server alles Gesendete verarbeitet hat.Callback once the server has processed everything sent. |
serverNow?(): number | Gemeinsame Uhr des Raums (ms).Shared clock of the room (ms). |
NetworkStatus
typesrc/scene/network.ts
Verbindungszustand.Connection state.
import type { NetworkStatus } from 'mabino-engine'
export type NetworkStatus = 'offline' | 'connecting' | 'connected';
NetworkPeer
interfacesrc/scene/network.ts
Ein anderer Teilnehmer.Another participant.
import type { NetworkPeer } from 'mabino-engine'
readonly id: string | Kennung.Id. |
readonly name: string | Name.Name. |
NetworkSetOptions
interfacesrc/scene/network.ts
Optionen für set.Options for set.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly own?: boolean | Schlüssel übernehmen.Take ownership. |
readonly volatile?: boolean | Verschwindet mit dem Besitzer.Disappears with its owner. |
NetworkJoinOptions
interfacesrc/scene/network.ts
Optionen für join.Options for join.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly server?: string | Adresse des Relays (leer: Server der Seite).Relay URL (empty: the page’s server). |
readonly name?: string | Name.Name. |
NetworkChange
interfacesrc/scene/network.ts
Änderung eines Schlüssels.Change of a key.
import type { NetworkChange } from 'mabino-engine'
readonly key: string | Schlüssel.Key. |
readonly value: unknown | Neuer Wert (undefined: gelöscht).New value (undefined: deleted). |
readonly owner: string | null | Besitzer.Owner. |
readonly remote: boolean | Kam von einem anderen Gerät.Came from another device. |
MediaService
interfacesrc/scene/media.ts
Geteilte Medienströme (WebRTC). Je Schlüssel teilt höchstens einer.Shared media streams (WebRTC). At most one shares per key.
import type { MediaService } from 'mabino-engine'
configure(config: MediaConfig): void | STUN/TURN setzen.Set STUN/TURN. |
publish(key: string, stream: MediaStream): boolean | Eigenen Strom teilen; false, wenn ein anderer teilt.Share an own stream; false if someone else shares. |
unpublish(key: string): void | Aufhören zu teilen.Stop sharing. |
publisher(key: string): string | null | Wer teilt unter dem Schlüssel.Who shares under the key. |
readonly selfId: string | null | Eigene Kennung.Own id. |
keys(prefix: string): string[] | Geteilte Schlüssel mit Präfix.Shared keys with prefix. |
subscribe(key: string, listener: (stream: MediaStream | null) => void): () => void | Strom eines anderen empfangen.Receive another participant’s stream. |
MediaConfig
interfacesrc/scene/media.ts
Einstellungen der Medienströme.Media stream settings.
import type { MediaConfig } from 'mabino-engine'
readonly iceServers: readonly RTCIceServer[] | STUN/TURN; leer = nur im selben Netz.STUN/TURN; empty = same network only. |
TrackingTracking
ImageTrackingService
interfacesrc/scene/image-tracking.ts
Bild- und Dosen-Tracking in AR.Image and can tracking in AR.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
register(options: ImageTargetOptions): ImageTargetHandle | Ziel anmelden.Register a target. |
ImageTargetOptions
interfacesrc/scene/image-tracking.ts
Ein Bild- oder Dosen-Ziel.An image or can target.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly node: THREE.Object3D | Objekt, das auf das Bild gesetzt wird.Object placed on the image. |
readonly name: string | Name für Meldungen.Name for messages. |
readonly source: string | Bild (PNG/JPG) oder .mtgt/.mcyl.Image (PNG/JPG) or .mtgt/.mcyl. |
readonly widthMeters: number | Breite des Drucks in Metern.Printed width in metres. |
readonly layout: ImageTargetLayout | Lage des Bildes (aufrecht, flach).Image layout (upright, flat). |
readonly moves: 'target' | 'scene' | target: das Objekt folgt; scene: die ganze Szene.target: the object follows; scene: the whole scene. |
readonly holdSeconds: number | Haltezeit nach Verlust.Hold time after loss. |
readonly onFound?: () => void | Erkannt.Found. |
readonly onLost?: () => void | Verloren.Lost. |
readonly cylinder?: CylinderShape | Dose statt Bild.Can instead of an image. |
readonly logTag?: string | Name für Meldungen.Name for messages. |
CylinderShape
interfacesrc/scene/image-tracking.ts
Maße einer Dose.Dimensions of a can.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly radiusTop: number | Radius oben (m).Top radius (m). |
readonly radiusBottom: number | Radius unten (m).Bottom radius (m). |
readonly height: number | Höhe des Etiketts (m).Label height (m). |
readonly arcDegrees: number | Bogen des Etiketts (Grad).Label arc (degrees). |
ImageTargetHandle
interfacesrc/scene/image-tracking.ts
Ein angemeldetes Ziel.A registered target.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly state: ImageTargetState | Zustand.State. |
readonly features: number | Merkmale des Bildes.Image features. |
readonly heightMeters: number | Höhe in Metern.Height in metres. |
dispose(): void | Abmelden.Unregister. |
ImageTargetState
typesrc/scene/image-tracking.ts
Zustand eines Ziels.State of a target.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type ImageTargetState = 'idle' | 'loading' | 'ready' | 'failed' | 'tracking' | 'holding' | 'lost';
FaceTrackingService
interfacesrc/scene/face-tracking.ts
Face-Tracking mit der Frontkamera, Mimik und Augen.Face tracking with the front camera, expressions and eyes.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
register(options: FaceTargetOptions): FaceTargetHandle | Ziel anmelden.Register a target. |
readonly running: boolean | Läuft.Running. |
readonly faceVisible: boolean | Gesicht zu sehen.Face visible. |
readonly blendshapes: Float32Array | null | Mimik roh (52 Werte).Raw expressions (52 values). |
readonly calibratedBlendshapes: Float32Array | null | Mimik ohne Ruhelage.Expressions without rest pose. |
readonly calibrated: boolean | Ruhelage gemessen.Rest pose measured. |
recalibrate(): void | Ruhelage neu messen.Measure the rest pose again. |
eyes(): { readonly mid: THREE.Vector3; readonly distance: number } | Augenmitte und -abstand.Eye centre and distance. |
headGeometry(): Promise<THREE.BufferGeometry | null> | Kopf als Netz (Verdecker, Vorschau).Head mesh (occluder, preview). |
FaceTargetOptions
interfacesrc/scene/face-tracking.ts
Ein Gesichts-Ziel.A face target.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly node: THREE.Object3D | Objekt auf dem Kopf.Object on the head. |
readonly name: string | Name für Meldungen.Name for messages. |
readonly holdSeconds: number | Haltezeit.Hold time. |
readonly onFound?: () => void | Gefunden.Found. |
readonly onLost?: () => void | Verloren.Lost. |
FaceTargetHandle
interfacesrc/scene/face-tracking.ts
Ein angemeldetes Gesichts-Ziel.A registered face target.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly state: FaceTargetState | Zustand.State. |
dispose(): void | Abmelden.Unregister. |
FaceTargetState
typesrc/scene/face-tracking.ts
Zustand eines Gesichts-Ziels.State of a face target.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type FaceTargetState = 'idle' | 'loading' | 'ready' | 'failed' | 'tracking' | 'holding' | 'lost';
Szene (World)Scene (World)
World
classsrc/scene/world.ts
Die laufende Szene: Objekte nach Name, Komponenten je Objekt, Animation, Physik (this.world).The running scene: objects by name, components per object, animation, physics (this.world).
import type { World } from 'mabino-engine'
readonly root: THREE.Object3D | Wurzel der Szene.Scene root. |
readonly materials: ReadonlyMap<string, THREE.Material> | Materialien der GLB nach Name.GLB materials by name. |
readonly clips: ReadonlyMap<string, THREE.AnimationClip> | Animationsclips der GLB nach Name.GLB animation clips by name. |
readonly assetBase: string | Adresse des Manifests (Basis für Dateien).Manifest URL (base for files). |
findObject(name: string): THREE.Object3D | null | Objekt nach Name (auch in der Schreibweise des GLTFLoaders).Object by name (also in the GLTFLoader spelling). |
get camera(): THREE.Object3D | null | Aktive Kamera (Vorschau oder XR).Active camera (preview or XR). |
findClip(name: string): THREE.AnimationClip | null | Clip nach Name.Clip by name. |
helpOf: (typeName: string) => ComponentHelp | undefined | Hilfe einer Komponente nach Typname.Help of a component by type name. |
objectsWithComponents(): THREE.Object3D[] | Alle Objekte mit Komponenten.All objects with components. |
componentsOf(obj: THREE.Object3D): readonly Component[] | Komponenten eines Objekts.Components of an object. |
getComponent<T extends Component>(obj: THREE.Object3D, cls: abstract new () => T): T | null | Komponente einer Klasse an einem Objekt.Component of a class on an object. |
findComponent<T extends Component>(cls: abstract new () => T): T | null | Erste Komponente einer Klasse in der Szene.First component of a class in the scene. |
copyTemplate(source: THREE.Object3D): CopyTemplate | Unberührte Vorlage eines Objekts nehmen (in awake).Take a pristine template of an object (in awake). |
copyObject(template: CopyTemplate, options: CopyOptions = {}): WorldCopy | null | Kopie samt Komponenten in die Szene bauen.Build a copy with components into the scene. |
isActive(obj: THREE.Object3D, cache: Map<THREE.Object3D, boolean> = new Map()): boolean | Objekt samt Eltern sichtbar?Object and parents visible? |
findOwner(hit: THREE.Object3D): THREE.Object3D | null | Nächstes Objekt mit Komponenten nach oben.Nearest object with components upwards. |
raycast(origin: THREE.Vector3, direction: THREE.Vector3, far = Infinity): { object: THREE.Object3D; owner: THREE.Object3D; point: THREE.Vector3; distance: number; normal: THREE.Vector3 | null } | null | Strahltest an der Szene (erster sichtbarer Treffer).Ray test against the scene (first visible hit). |
addPointerHook(hook: (id: number, ray: THREE.Ray, surface: THREE.Intersection | null) => boolean): () => void | Werkzeug, das jeden gedrückten Zeiger zuerst sieht.Tool that sees every pressed pointer first. |
get hasCapture(): boolean | Hält gerade ein Zeiger ein Objekt fest?Is a pointer holding an object? |
select(owner: THREE.Object3D, at?: { readonly point: THREE.Vector3; readonly normal?: THREE.Vector3 | null }): void | Objekt auswählen wie per Tap.Select an object as by tap. |
selectPoint: THREE.Vector3 | null | Treffpunkt während onSelect.Hit point during onSelect. |
selectNormal: THREE.Vector3 | null | Flächennormale während onSelect.Surface normal during onSelect. |
capturePointer(id: number, component: Component): void | Zeiger eines Werkzeugs an eine Komponente binden.Bind a tool’s pointer to a component. |
onSelect(listener: (owner: THREE.Object3D) => void): () => void | Jede Auswahl melden.Report every selection. |
collect<T extends Component>(cls: abstract new () => T): T[] | Alle Komponenten einer Klasse.All components of a class. |
addFrameCallback(callback: (dt: number) => void): () => void | Jedes Bild aufrufen, auch wenn die Komponente ruht.Call every frame, even when the component is inactive. |
physics(): PhysicsSim | Physik der Szene (legt sie an).Physics of the scene (creates it). |
get physicsIfAny(): PhysicsSim | null | Physik, falls vorhanden.Physics, if any. |
animation(root: THREE.Object3D = this.root): AnimationController | Animations-Controller einer Wurzel.Animation controller of a root. |
findController(name: string): ControllerData | null | Animator-Controller aus dem Manifest.Animator controller from the manifest. |
controllerNames(): string[] | Namen der Controller.Controller names. |
readonly markersOf(clip: THREE.AnimationClip): readonly ClipMarker[] | undefined | Marker eines Clips.Markers of a clip. |
addMarkers(clipName: string, markers: readonly ClipMarker[]): void | Marker eintragen.Add markers. |
removeMarker(clipName: string, name: string): void | Marker entfernen.Remove markers. |
CopyTemplate
interfacesrc/scene/world.ts
Vorlage für Kopien (copyTemplate).Template for copies (copyTemplate).
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly source: THREE.Object3D | Original.Original. |
readonly pristine: THREE.Object3D | Unberührter Klon.Pristine clone. |
readonly toSource: ReadonlyMap<THREE.Object3D, THREE.Object3D> | Klon-Knoten → Original-Knoten.Clone node → original node. |
CopyOptions
interfacesrc/scene/world.ts
Optionen für copyObject.Options for copyObject.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly parent?: THREE.Object3D | Eltern der Kopie.Parent of the copy. |
readonly include?: (typeName: string) => boolean | Welche Komponenten mitkommen.Which components are copied. |
readonly configure?: (component: Component) => void | Komponente vor awake einstellen.Configure a component before awake. |
readonly keepCall?: (target: Component, inside: boolean) => boolean | Welche EventList-Aufrufe die Kopie behält.Which EventList calls the copy keeps. |
WorldCopy
interfacesrc/scene/world.ts
Eine Kopie in der Szene.A copy in the scene.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
readonly object: THREE.Object3D | Wurzel der Kopie.Root of the copy. |
readonly components: readonly Component[] | Ihre Komponenten.Its components. |
remove(): void | Kopie entfernen.Remove the copy. |
AnimationAnimation
AnimationController
classsrc/animation/controller.ts
Ein Mixer je Wurzel (world.animation(root)), geteilt von allen Komponenten dort. Ebenen, Überblendung, Marker, Culling.One mixer per root (world.animation(root)), shared by all components there. Layers, cross-fades, markers, culling.
import type { AnimationController } from 'mabino-engine'
readonly mixer: THREE.AnimationMixer | Der three.js-Mixer.The three.js mixer. |
culling: AnimationCulling | auto, always, offscreen.auto, always, offscreen. |
footLock = 0 | Füße bleiben stehen (0 … 1).Feet stay planted (0 … 1). |
readonly root: THREE.Object3D | Wurzel.Root. |
play(clip: THREE.AnimationClip, options: PlayOptions = {}): THREE.AnimationAction | Clip auf seiner Ebene spielen.Play a clip on its layer. |
playAsync(clip: THREE.AnimationClip, options: PlayOptions = {}): Promise<PlayResult> | Clip spielen und auf das Ende warten.Play a clip and wait for its end. |
stop(layer = 'base'): void | Ebene beenden.Stop a layer. |
stopAll(): void | Alles beenden.Stop everything. |
pause(layer = 'base'): void | Ebene anhalten.Pause a layer. |
resume(layer = 'base'): void | Ebene fortsetzen.Resume a layer. |
isPaused(layer = 'base'): boolean | Ebene angehalten?Layer paused? |
setSpeed(speed: number, layer = 'base'): void | Tempo der Ebene.Speed of a layer. |
currentClip(layer = 'base'): THREE.AnimationClip | null | Laufender Clip der Ebene.Current clip of a layer. |
elapsed(layer = 'base'): number | Zurückgelegte Clip-Zeit.Elapsed clip time. |
seek(elapsed: number, layer = 'base'): void | Clip-Zeit setzen (ohne Marker).Set the clip time (without markers). |
drive(clip: THREE.AnimationClip, elapsed: number, weight: number, loop: AnimationLoop, layer: string, markers: boolean, restart = false): void | Clip von außen führen (Zeit, Gewicht je Bild), fortgeschritten.Drive a clip from outside (time, weight per frame), advanced. |
undrive(clip: THREE.AnimationClip): void | Geführten Clip freigeben.Release a driven clip. |
registerMask(key: string, names: readonly string[] | ReadonlyMap<string, number> | null): void | Maske für Overlay-Ebenen, fortgeschritten.Mask for overlay layers, advanced. |
overlay(clip: THREE.AnimationClip, maskKey: string, elapsed: number, weight: number, loop: AnimationLoop, layer: string, markers: boolean, restart = false, balance = 0, additive = false): void | Clip nach dem Mixer überblenden, fortgeschritten.Blend a clip after the mixer, advanced. |
markersOf(clip: THREE.AnimationClip): readonly ClipMarker[] | Marker eines Clips.Markers of a clip. |
on(name: string, listener: MarkerListener): () => void | Zuhörer für Marker (Name oder *).Listener for markers (name or *). |
PlayOptions
interfacesrc/animation/controller.ts
Optionen für play.Options for play.
import type { PlayOptions } from 'mabino-engine'
readonly layer?: string | Ebene (Standard base).Layer (default base). |
readonly fade?: number | Überblendung in Sekunden.Cross-fade in seconds. |
readonly loop?: AnimationLoop | repeat, once, pingpong.repeat, once, pingpong. |
readonly speed?: number | Tempo, negativ = rückwärts.Speed, negative = backwards. |
readonly weight?: number | Gewicht.Weight. |
readonly warp?: boolean | Tempi beim Überblenden angleichen.Match speeds when cross-fading. |
readonly startAt?: number | Start bei dieser Clip-Zeit.Start at this clip time. |
readonly restart?: boolean | Laufenden Clip neu starten.Restart a running clip. |
PlayResult
typesrc/animation/controller.ts
Ergebnis von playAsync.Result of playAsync.
import type { PlayResult } from 'mabino-engine'
export type PlayResult = 'finished' | 'interrupted' | 'stopped';
AnimationLoop
typesrc/animation/controller.ts
Wiederholung eines Clips.Looping of a clip.
import type { AnimationLoop } from 'mabino-engine'
export type AnimationLoop = MarkerLoop;
AnimationCulling
typesrc/animation/controller.ts
Wann die Pose berechnet wird.When the pose is computed.
import type { AnimationCulling } from 'mabino-engine'
export type AnimationCulling = 'auto' | 'always' | 'offscreen';
MarkerEvent
interfacesrc/animation/controller.ts
Überschrittener Marker; das Objekt wird wiederverwendet.Crossed marker; the object is reused.
import type { MarkerEvent } from 'mabino-engine'
name: string | Name.Name. |
time: number | Zeit im Clip.Time in the clip. |
clip: THREE.AnimationClip | Clip.Clip. |
layer: string | Ebene.Layer. |
MarkerListener
typesrc/animation/controller.ts
Zuhörer für Marker.Marker listener.
import type { MarkerListener } from 'mabino-engine'
export type MarkerListener = (event: MarkerEvent) => void;
ClipMarker
interfacesrc/animation/markers.ts
Marker in einem Clip.Marker in a clip.
import type { ClipMarker } from 'mabino-engine'
readonly name: string | Name.Name. |
readonly time: number | Sekunden ab Clip-Anfang.Seconds from clip start. |
PhysikPhysics
PhysicsSim
classsrc/physics/sim.ts
Physik einer Szene (Rapier), world.physics(). Gerechnet im Raum der Szenen-Wurzel, Meter, Schwerkraft −Y.Physics of a scene (Rapier), world.physics(). Computed in the scene root’s space, metres, gravity −Y.
import type { PhysicsSim } from 'mabino-engine'
paused = false | Angehalten.Paused. |
readonly root: THREE.Object3D | Wurzel der Szene.Scene root. |
get ready(): boolean | Bibliothek geladen und Welt gebaut.Library loaded and world built. |
get gravity(): number set gravity(value: number) | Schwerkraft m/s² (Standard 9,81).Gravity m/s² (default 9.81). |
get showColliders(): boolean set showColliders(show: boolean) | Collider als Linien zeigen.Show colliders as lines. |
addBody(object: THREE.Object3D, options: BodyOptions): PhysicsBody | Körper anmelden (lädt beim ersten die Bibliothek).Add a body (loads the library on the first). |
removeBody(body: PhysicsBody): void | Körper entfernen.Remove a body. |
addCollider(object: THREE.Object3D, options: ColliderOptions): PhysicsCollider | Collider anmelden.Add a collider. |
removeCollider(collider: PhysicsCollider): void | Collider entfernen.Remove a collider. |
bodyOf(object: THREE.Object3D): PhysicsBody | null | Körper genau dieses Objekts.Body of exactly this object. |
ownerOf(object: THREE.Object3D): PhysicsBody | null | Körper dieses Objekts oder darüber.Body of this object or above. |
onContact(object: THREE.Object3D, listener: ContactListener): () => void | Berührungen eines Objekts melden.Report contacts of an object. |
resetAll(scope: ResetScope = 'all'): void | Körper an ihren Ausgangsort.Bodies back to their start. |
stats(): PhysicsStats | Zahlen für Anzeigen.Numbers for displays. |
PhysicsBody
classsrc/physics/sim.ts
Ein Körper.A body.
import type { PhysicsBody } from 'mabino-engine'
readonly colliders: PhysicsCollider[] | Collider des Körpers.Colliders of the body. |
readonly sim: PhysicsSim | Die Simulation.The simulation. |
readonly object: THREE.Object3D | Das Objekt.The object. |
readonly options: BodyOptions | Einstellungen.Settings. |
get isHeld(): boolean | Wird gehalten.Is held. |
get sleeping(): boolean | Ruht.Sleeping. |
hold(): void | Festhalten: folgt seinem Objekt.Hold: follows its object. |
release(throwIt = true): void | Loslassen, wahlweise werfen.Release, optionally throw. |
setFollow(follow: boolean): void | Folgen statt rechnen (anderes Gerät rechnet).Follow instead of simulate (another device simulates). |
setVelocity(velocity: THREE.Vector3, spin?: THREE.Vector3): void | Geschwindigkeit setzen.Set velocity. |
addVelocity(velocity: THREE.Vector3, spin?: THREE.Vector3): void | Anstoßen.Push. |
velocity(out: THREE.Vector3): THREE.Vector3 | Aktuelle Geschwindigkeit.Current velocity. |
reset(): void | Zurück an den Ausgangsort.Back to the start. |
place(position: THREE.Vector3, rotation: THREE.Quaternion, velocity: THREE.Vector3): void | Versetzen mit Geschwindigkeit.Move with velocity. |
setFrozen(frozen: boolean): void | Einfrieren.Freeze. |
wake(): void | Aufwecken.Wake up. |
PhysicsCollider
classsrc/physics/sim.ts
Ein Collider.A collider.
import type { PhysicsCollider } from 'mabino-engine'
body: PhysicsBody | null | Körper (null: steht fest).Body (null: fixed). |
readonly object: THREE.Object3D | Objekt.Object. |
readonly options: ColliderOptions | Einstellungen.Settings. |
BodyOptions
interfacesrc/physics/sim.ts
Einstellungen eines Körpers.Settings of a body.
import type { BodyOptions } from 'mabino-engine'
motion: BodyMotion | dynamic, kinematic, fixed.dynamic, kinematic, fixed. |
mass: number | Gesamtmasse kg.Total mass kg. |
drag: number | Dämpfung der Bewegung.Linear damping. |
angularDrag: number | Dämpfung der Drehung.Angular damping. |
useGravity: boolean | Schwerkraft.Gravity. |
continuous: boolean | Kein Durchtunneln (teurer).No tunnelling (costlier). |
freezePosition: string | Gesperrte Achsen, z. B. "xz".Locked axes, e.g. "xz". |
freezeRotation: string | Gesperrte Drehachsen.Locked rotation axes. |
BodyMotion
typesrc/physics/sim.ts
Art eines Körpers.Kind of a body.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type BodyMotion = 'dynamic' | 'kinematic' | 'fixed';
ColliderOptions
interfacesrc/physics/sim.ts
Einstellungen eines Colliders.Settings of a collider.
import type { ColliderOptions } from 'mabino-engine'
shape: ColliderShape | box, sphere, capsule, hull, mesh.box, sphere, capsule, hull, mesh. |
center: readonly [number, number, number] | Mitte im Objekt.Centre in the object. |
size: readonly [number, number, number] | Kanten (box).Edges (box). |
radius: number | Radius.Radius. |
height: number | Höhe der Kapsel.Capsule height. |
axis: 0 | 1 | 2 | Achse der Kapsel.Capsule axis. |
isTrigger: boolean | Auslöser ohne Widerstand.Trigger without resistance. |
friction: number | Reibung.Friction. |
bounciness: number | Sprungkraft.Bounciness. |
frictionCombine: CombineRule | Verrechnung der Reibung.Friction combine rule. |
bounceCombine: CombineRule | Verrechnung der Sprungkraft.Bounce combine rule. |
ColliderShape
typesrc/physics/sim.ts
Form eines Colliders.Shape of a collider.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type ColliderShape = 'box' | 'sphere' | 'capsule' | 'hull' | 'mesh';
CombineRule
typesrc/physics/sim.ts
Verrechnung zweier Collider.Combination of two colliders.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type CombineRule = 'average' | 'minimum' | 'multiply' | 'maximum';
ContactListener
typesrc/physics/sim.ts
Meldung einer Berührung (anderes Objekt, Beginn/Ende).Contact report (other object, start/end).
import type { ContactListener } from 'mabino-engine'
export type ContactListener = (other: THREE.Object3D, started: boolean) => void;
ResetScope
typesrc/physics/sim.ts
Welche Körper resetAll zurücksetzt.Which bodies resetAll resets.
nicht importierbar, erreichbar über this.context bzw. this.worldnot importable, reachable via this.context or this.world
export type ResetScope = 'all' | 'own' | 'shared';
PhysicsStats
interfacesrc/physics/sim.ts
Zahlen der Physik.Physics numbers.
import type { PhysicsStats } from 'mabino-engine'
bodies: number | Körper.Bodies. |
awake: number | Wache Körper.Awake bodies. |
colliders: number | Collider.Colliders. |
stepMs: number | Dauer des letzten Schritts (ms).Duration of the last step (ms). |
KomponentenComponents
Alle eingebauten Komponenten mit ihren Feldern (Name im Manifest und in Unity, Typ und Standardwert) und Aktionen. Rigidbody und Collider legt man in Unity mit Unitys eigenen Komponenten an.All built-in components with their fields (name in the manifest and in Unity, type and default) and actions. Rigidbody and colliders are created in Unity with Unity’s own components.
InteraktionInteraction (19)PhysikPhysics (8)AnimationAnimation (17)MedienMedia (9)DarstellungRendering (22)Szene und AnsichtScene and view (9)VR und ARVR and AR (12)MehrspielerMultiplayer (7)WerkzeugeUtility (2)
InteraktionInteraction
Macht die Funktionen der App für Knöpfe erreichbar: AR und VR starten oder beenden, neu platzieren, Mikrofon an/aus, Raum-Link teilen, Raum wechseln. Einmal in der Szene, dann rufen MenuButton, EventTrigger und andere EventLists diese Methoden auf.Makes the app functions available to buttons: start or end AR and VR, place again, microphone on/off, share the room link, change the room. Once in the scene, then MenuButton, EventTrigger and other EventLists call these methods.
Methoden: startAr, startVr, exitXr, placeAgain, toggleMicrophone, muteMicrophone, unmuteMicrophone, shareRoomLink, takePhoto, quickLook, joinRoom (Text: Raumname), leaveRoom, muteSound, unmuteSound, toggleSound, setSoundVolume (Zahl 0 bis 1). AR und VR starten Browser nur aus einem Klick oder Tipp, nicht aus einem Timer.Methods: startAr, startVr, exitXr, placeAgain, toggleMicrophone, muteMicrophone, unmuteMicrophone, shareRoomLink, takePhoto, quickLook, joinRoom (text: room name), leaveRoom, muteSound, unmuteSound, toggleSound, setSoundVolume (number 0 to 1). Browsers start AR and VR only from a click or tap, not from a timer.
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
startAr() | AR starten.Start AR. |
startVr() | VR starten.Start VR. |
exitXr() | AR oder VR beenden.End AR or VR. |
placeAgain() | In AR neu platzieren.Place again in AR. |
toggleMicrophone() | Mikrofon umschalten.Toggle the microphone. |
muteMicrophone() | Mikrofon stumm.Mute the microphone. |
unmuteMicrophone() | Mikrofon an.Microphone on. |
shareRoomLink() | Link zum Raum teilen.Share the room link. |
takePhoto() | Foto der Szene, in AR mit Kamerabild (nicht in WebXR-AR auf Android). Auf dem Handy öffnet sich das Teilen-Menü (z. B. In Fotos sichern), am Rechner wird es heruntergeladen.Photo of the scene, in AR with the camera image (not in WebXR AR on Android). On the phone the share menu opens (e.g. Save to Photos), on the computer it is downloaded. |
quickLook() | Szene in AR Quick Look öffnen (iPhone, iPad), so wie sie gerade aussieht. Nur aus einem Klick oder Tipp; auf anderen Geräten passiert nichts. Einstellungen in der Komponente QuickLook.Open the scene in AR Quick Look (iPhone, iPad) as it looks right now. Only from a click or tap; nothing happens on other devices. Settings in the QuickLook component. |
joinRoom() | Raum wechseln (Text: Raumname).Change the room (text: room name). |
leaveRoom() | Raum verlassen.Leave the room. |
muteSound() | Alle Töne der App stumm (Szene und Stimmen).Mute all sounds of the app (scene and voices). |
unmuteSound() | Töne wieder an, mit der Lautstärke von vorher.Sound on again, at the previous volume. |
toggleSound() | Töne an oder aus.Sound on or off. |
setSoundVolume() | Gesamtlautstärke der App (Zahl 0 bis 1).Overall volume of the app (number 0 to 1). |
Macht ein Objekt mit Maus, Finger oder VR-Controller verschiebbar. Während des Ziehens dreht sich die Ansicht nicht.Makes an object draggable with mouse, finger or VR controller. The view does not rotate while dragging.
Ein kurzes Antippen löst weiter die normale Auswahl aus.A short tap still triggers the normal selection.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das sich bewegt. Leer: das eigene Objekt.The object that moves. Empty: this object. |
mode | enum(ground | camera) = "ground" | ground: waagerecht in Höhe des Griffpunkts (Gegenstände auf Boden oder Tisch). camera: parallel zum Bild.ground: horizontally at the height of the grab point (items on a floor or table). camera: parallel to the screen. |
axis | enum(free | x | z) = "free" | Nur im Modus ground: Bewegung auf eine Weltachse beschränken.Ground mode only: restrict movement to a world axis. |
dragStartEvent | event | Aufrufe beim Greifen.Calls when grabbed. |
dragEndEvent | event | Aufrufe beim Loslassen.Calls when released. |
Der allgemeine Baustein zum Verdrahten ohne Code: löst Aufrufe anderer Komponenten aus, wenn das Objekt ausgewählt oder überfahren wird.The general building block for wiring without code: calls methods of other components when the object is selected or hovered.
Pro Aufruf: Zielobjekt, Name der Komponente (z. B. TapVisibility), Methode (meist run) und höchstens ein Argument.Per call: target object, component name (e.g. TapVisibility), method (usually run) and at most one argument.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
selectEvent | event | Aufrufe bei Auswahl (Tap, Klick, Auslöser).Calls on selection (tap, click, trigger). |
hoverEnterEvent | event | Aufrufe, wenn der Zeiger auf das Objekt trifft.Calls when the pointer reaches the object. |
hoverExitEvent | event | Aufrufe, wenn der Zeiger das Objekt verlässt.Calls when the pointer leaves the object. |
Blendet ein Objekt samt Kindern weich ein und aus, statt es hart umzuschalten. Für alle im Raum gleich.Fades an object and its children in and out softly instead of switching it hard. The same for everyone in the room.
Mit ImageTarget: onFound → fadeIn, onLost → fadeOut. Ausgeblendet wird das Objekt nicht gezeichnet. Während des Blendens bekommt jedes Mesh eine eigene Kopie seines Materials, ganz eingeblendet die Originale zurück.With ImageTarget: onFound → fadeIn, onLost → fadeOut. When hidden the object is not drawn. While fading every mesh gets its own copy of its material, fully shown the originals return.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, das blendet. Leer: dieses Objekt samt Kindern.Object that fades. Empty: this object and its children. |
duration | number = 0.6 | Dauer des Blendens in Sekunden.Duration of the fade in seconds. |
startHidden | boolean = false | Beim Start ausgeblendet (z. B. bis ein Bild erkannt ist oder ein Knopf gedrückt wird).Hidden at start (e.g. until an image is recognized or a button is pressed). |
sync | boolean = true | Alle im Raum sehen denselben Stand, auch wer später kommt.Everyone in the room sees the same state, also whoever joins later. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
fadeIn() | Weich einblenden.Fade in softly. |
fadeOut() | Weich ausblenden.Fade out softly. |
toggle() | Ein- oder ausblenden.Fade in or out. |
show() | Sofort zeigen.Show immediately. |
hide() | Sofort verbergen.Hide immediately. |
Dreht und skaliert ein Objekt mit den Fingern: ein Finger wischt es um die Senkrechte, zwei Finger ziehen es größer und kleiner. Mit der Maus dreht ein Zug mit gedrückter Taste.Rotates and scales an object with the fingers: one finger swipes it around the vertical, two fingers pinch it larger and smaller. With the mouse a drag with the button held turns it.
Liegt ein Finger auf dem Objekt, darf der zweite überall aufsetzen. In der Vorschau und in VR gilt immer onObject, sonst ließe sich die Ansicht nicht mehr drehen. Zusammen mit DragControls am selben Objekt rotate auf twoFingers stellen. Mit der Maus gibt es kein Skalieren.With one finger on the object the second may touch down anywhere. In the preview and in VR onObject always applies, otherwise the view could no longer be turned. Together with DragControls on the same object set rotate to twoFingers. There is no scaling with the mouse.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das sich dreht und skaliert. Leer: das eigene Objekt.The object that turns and scales. Empty: this object. |
rotate | enum(oneFinger | twoFingers | none) = "oneFinger" | Drehen: oneFinger = mit einem Finger wischen, twoFingers = mit zwei Fingern wie einen Knopf drehen, none = nicht drehen.Turning: oneFinger = swipe with one finger, twoFingers = twist with two fingers like a knob, none = no turning. |
rotateSpeed | number = 1 advanced | Faktor für das Drehen mit einem Finger (1 = ein Wisch über das Bild dreht etwa einmal herum).Factor for turning with one finger (1 = a swipe across the picture turns about once around). |
scale | boolean = true | Mit zwei Fingern größer und kleiner ziehen.Pinch larger and smaller with two fingers. |
minScale | number = 0.3 | Kleinste Größe im Verhältnis zur Größe aus der Szene.Smallest size relative to the size from the scene. |
maxScale | number = 3 | Größte Größe im Verhältnis zur Größe aus der Szene.Largest size relative to the size from the scene. |
area | enum(onObject | anywhere) = "onObject" | Wo die Geste beginnen darf: onObject = auf dem Objekt, anywhere = in AR überall im Bild (für Szenen mit einem Hauptobjekt).Where the gesture may start: onObject = on the object, anywhere = in AR anywhere in the picture (for scenes with one main object). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
reset() | Zurück zu Drehung und Größe aus der Szene.Back to rotation and size from the scene. |
Eine Beschriftung an einem Objekt: ein schwebender Text über dem 3D-Bild, der dem Objekt folgt. Scharfe Schrift, Link-Knopf und Bild möglich, mit CSS gestaltbar. Zwei Sprachen. Gezeichnet wird er von der HotspotLayer, die einmal in der Szene liegt.A label on an object: a floating text over the 3D picture that follows the object. Sharp text, link button and image possible, styleable with CSS. Two languages. It is drawn by the HotspotLayer, which sits once in the scene.
Der Punkt hängt am Objekt: er wandert mit, wenn es sich bewegt oder dreht. Ist das Objekt ausgeblendet, ist es auch der Hotspot. Ohne HotspotLayer in der Szene erscheint nichts.The point is attached to the object: it moves along when the object moves or turns. If the object is hidden, so is the hotspot. Without a HotspotLayer in the scene nothing appears.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
title | string = "New hotspot" | Titel, die fette Zeile (erste Sprache).Title, the bold line (first language). |
body | string = "" | Beschreibung, mehrzeilig möglich (erste Sprache).Description, multiple lines possible (first language). |
linkLabel | string = "" | Beschriftung des Link-Knopfs (erste Sprache), leer = kein Knopf.Label of the link button (first language), empty = no button. |
title2 | string = "" | Titel der zweiten Sprache, leer = der erste Titel.Title of the second language, empty = the first title. |
body2 | string = "" | Beschreibung der zweiten Sprache.Description of the second language. |
linkLabel2 | string = "" | Link-Beschriftung der zweiten Sprache.Link label of the second language. |
linkUrl | string = "" | Adresse des Link-Knopfs.Address of the link button. |
icon | string = "" | Kurzes Zeichen vor dem Titel, z.B. ein Emoji.Short character before the title, e.g. an emoji. |
image | asset<image> | Bild im aufgeklappten Hotspot.Image in the opened hotspot. |
category | string = "" | Kategorie zum Gruppieren und Filtern (HotspotLayer.showCategory).Category for grouping and filtering (HotspotLayer.showCategory). |
anchor | enum(top | center | pivot) = "top" | Wo der Punkt am Objekt sitzt: top = oben, center = Mitte, pivot = Ursprung des Objekts.Where the point sits on the object: top = on top, center = middle, pivot = origin of the object. |
offset | vec3 = [0,0.3,0] | Verschiebung des Punkts in Metern (Weltachsen); Y nach oben hebt den Hotspot vom Objekt ab.Shift of the point in meters (world axes); Y up lifts the hotspot off the object. |
displayMode | enum(layer | banner | dot | compact) = "layer" | Darstellung dieses Hotspots: layer = wie in der HotspotLayer, banner = immer mit Text, dot = Punkt, compact = Punkt mit Titel.Display of this hotspot: layer = as set in the HotspotLayer, banner = always with text, dot = dot, compact = dot with title. |
minDistance | number = 0 | Erst ab diesem Abstand zur Kamera sichtbar (Meter), 0 = aus.Visible only from this distance to the camera (meters), 0 = off. |
maxDistance | number = 0 | Nur bis zu diesem Abstand sichtbar (Meter), 0 = keine Grenze.Visible only up to this distance (meters), 0 = no limit. |
startOpen | boolean = false | Bei dot und compact von Anfang an aufgeklappt.With dot and compact open from the start. |
priority | number = 0 | Bei Überlappung liegt der höhere Wert oben und behält seinen Platz. 0 = die Nähe entscheidet.On overlap the higher value stays on top and keeps its place. 0 = proximity decides. |
hideWhenOccluded | boolean = false | Verdeckten Hotspot ausblenden (Strahlentest gegen die Szene). Aus = immer zeigen.Hide the hotspot when occluded (ray test against the scene). Off = always show. |
cssClass | string = "" | Zusätzliche CSS-Klasse am Element, für eigenes Aussehen.Additional CSS class on the element, for your own look. |
onClicked | event | Wenn angeklickt.When clicked. |
onOpened | event | Wenn aufgeklappt.When opened. |
onClosed | event | Wenn zugeklappt.When closed. |
onVisible | event | Wenn der Hotspot ins Bild kommt.When the hotspot comes into view. |
onHidden | event | Wenn der Hotspot das Bild verlässt oder verdeckt wird.When the hotspot leaves the view or becomes occluded. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
open() | Aufklappen.Open. |
close() | Zuklappen.Close. |
toggle() | Auf- oder zuklappen.Open or close. |
click() | Wie ein Klick: meldet ihn und klappt auf oder zu.Like a click: reports it and opens or closes. |
openLink() | Öffnet die Adresse des Link-Knopfs.Opens the address of the link button. |
refreshAnchor() | Ankerpunkt neu berechnen (nach einer Formänderung des Objekts).Recompute the anchor point (after the object changed shape). |
Zeichnet alle Hotspots der Szene über dem 3D-Bild und verwaltet Sprache, Darstellung und Filter. Einmal in der Szene. Hotspots hinter der Kamera, zu weit weg oder (wenn eingestellt) verdeckt verschwinden, überlappende rücken nach oben. Mit einer zweiten Sprache erscheint ein Sprachknopf im Menü.Draws all hotspots of the scene over the 3D picture and manages language, display and filters. Once in the scene. Hotspots behind the camera, too far away or (when set) occluded disappear, overlapping ones move up. With a second language a language button appears in the menu.
Die Texte der Besucher stehen an den Hotspots, nicht hier. Das Aussehen lässt sich mit CSS ändern (Klassen hotspot, hotspot-title, hotspot-body, hotspot-dot) und mit cssClass je Hotspot. Von außen: mabino.call("Layer", "HotspotLayer", "setLanguage", 2).The visitor texts live on the hotspots, not here. The look can be changed with CSS (classes hotspot, hotspot-title, hotspot-body, hotspot-dot) and with cssClass per hotspot. From outside: mabino.call("Layer", "HotspotLayer", "setLanguage", 2).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
displayMode | enum(banner | dot | compact) = "compact" | Darstellung aller Hotspots: banner = Titel und Text immer, dot = nur Punkt (Klick klappt auf), compact = Punkt mit Titel (Klick zeigt den Text).Display of all hotspots: banner = title and text always, dot = dot only (click opens), compact = dot with title (click shows the text). |
language1 | string = "EN" | Name der ersten Sprache im Sprachknopf, z.B. EN.Name of the first language on the language button, e.g. EN. |
language2 | string = "" | Name der zweiten Sprache, z.B. DE. Leer = keine zweite Sprache und kein Sprachknopf.Name of the second language, e.g. DE. Empty = no second language and no language button. |
startSecond | boolean = false | Mit der zweiten Sprache starten.Start with the second language. |
languageButton | boolean = true | Sprachknopf im Menü zeigen (wenn eine zweite Sprache benannt ist).Show the language button in the menu (when a second language is named). |
visible | boolean = true | Alle Hotspots zeigen. Mit showAll und hideAll umschaltbar.Show all hotspots. Switchable with showAll and hideAll. |
maxDistance | number = 0 | Sichtbar bis zu diesem Abstand (Meter), 0 = keine Grenze. Gilt zusätzlich zur Grenze am Hotspot.Visible up to this distance (meters), 0 = no limit. Applies in addition to the limit on the hotspot. |
avoidOverlap | boolean = true | Überlappende Hotspots nach oben schieben.Move overlapping hotspots up. |
occlusion | boolean = true | Strahlentest gegen die Szene erlauben (wirkt bei Hotspots mit hideWhenOccluded). Aus spart Leistung.Allow the ray test against the scene (applies to hotspots with hideWhenOccluded). Off saves performance. |
accent | color = "#f4d03f" | Akzentfarbe von Punkt und Rahmen.Accent color of dot and frame. |
background | color = "#11151c" | Hintergrund der Hotspots.Background of the hotspots. |
textColor | color = "#ffffff" | Textfarbe.Text color. |
hideInVr | boolean = true | In VR ausblenden (die Seite ist dort nicht zu sehen).Hide in VR (the page is not visible there). |
onHotspotClicked | event | Wenn irgendein Hotspot angeklickt wird.When any hotspot is clicked. |
onLanguageChanged | event | Wenn die Sprache wechselt.When the language changes. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setLanguage() | Sprache wählen (Zahl): 1 = erste, 2 = zweite.Choose language (number): 1 = first, 2 = second. |
toggleLanguage() | Zwischen den beiden Sprachen wechseln.Switch between the two languages. |
showAll() | Alle Hotspots zeigen.Show all hotspots. |
hideAll() | Alle Hotspots ausblenden.Hide all hotspots. |
openAll() | Alle Hotspots aufklappen.Open all hotspots. |
closeAll() | Alle Hotspots zuklappen.Close all hotspots. |
showCategory() | Nur Hotspots dieser Kategorie zeigen (Text); leer zeigt alle.Show only hotspots of this category (text); empty shows all. |
Ein Element der umgebenden Webseite löst etwas in der Szene aus: Knopf, Link, Schalter oder Schieber per CSS-Selektor. Die Gegenrichtung zu MenuButton. So baut der Gestalter der Seite eigene Knöpfe, und die Szene reagiert.An element of the surrounding web page triggers something in the scene: button, link, switch or slider via CSS selector. The opposite direction of MenuButton. This way the page designer builds their own buttons and the scene reacts.
Das Element kann später kommen (nachgeladener Teil der Seite): rebind() sucht es erneut. Welche Aktionen es in der Szene gibt, schreibt der Export in actions.md neben das Manifest.The element may appear later (part of the page loaded afterwards): rebind() looks for it again. Which actions exist in the scene is written by the export to actions.md next to the manifest.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
selector | string = "#mabino-trigger" | CSS-Selektor des Elements auf der Seite, z.B. #ticket, .cam-btn oder [data-mabino='open']. Passen mehrere, lösen alle aus.CSS selector of the element on the page, e.g. #ticket, .cam-btn or [data-mabino='open']. If several match, all trigger. |
trigger | enum(click | pointerdown | change | input) = "click" | Ereignis des Elements: click (Knopf, Link), pointerdown (sofort beim Drücken), change (Schalter, Auswahl), input (Schieber, Textfeld, bei jeder Änderung).Event of the element: click (button, link), pointerdown (immediately on press), change (switch, selection), input (slider, text field, on every change). |
toggle | boolean = false | onTrigger und onSecondTrigger wechseln sich ab (Licht an / Licht aus).onTrigger and onSecondTrigger alternate (light on / light off). |
onTrigger | event | Was beim Auslösen passiert.What happens when triggered. |
onSecondTrigger | event | Mit toggle: was beim zweiten Auslösen passiert.With toggle: what happens on the second trigger. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Auslösen, als hätte das Element gefeuert.Trigger as if the element had fired. |
rebind() | Elemente erneut suchen und anbinden.Look for the elements again and bind them. |
Zeigt beim Antippen oder Anklicken ein Infofenster mit Titel und Text. In VR erscheint es als Tafel vor dem Kopf.Shows an info window with a title and text when tapped or clicked. In VR it appears as a panel in front of the head.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
title | string = "" | Überschrift des Infofensters.Heading of the info window. |
text | string = "" | Text des Infofensters. Zeilenumbrüche sind erlaubt.Body text of the info window. Line breaks are allowed. |
Maßband: zwei Punkte auf Objekten antippen, die App zeigt die Strecke mit Länge. Im Maß des Modells, auch wenn die Szene in AR verkleinert steht.Measuring tape: tap two points on objects, the app shows the distance with its length. In the scale of the model, even if the scene is shown smaller in AR.
Eingeschaltet dreht ein Tippen die Ansicht nicht; zum Umsehen wieder ausschalten. Ein dritter Punkt beginnt eine neue Messung. Einmal je Szene.When on, a tap does not turn the view; switch it off to look around. A third point starts a new measurement. Once per scene.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
showButton | boolean = true | Knopf „Measure“ im Menü zum Ein- und Ausschalten.Button “Measure” in the menu to switch it on and off. |
startActive | boolean = false | Gleich beim Start eingeschaltet.Switched on right at the start. |
color | color = "#f4d03f" | Farbe von Punkten und Linie.Color of points and line. |
unit | enum(auto | m | cm | mm) = "auto" | Einheit: auto (mm, cm oder m je nach Länge), m, cm, mm.Unit: auto (mm, cm or m depending on the length), m, cm, mm. |
decimals | number = 2 advanced | Nachkommastellen in Metern (bei cm und mm eine weniger).Decimal places in meters (one less for cm and mm). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
activate() | Maßband einschalten.Switch the measuring tape on. |
deactivate() | Maßband ausschalten.Switch the measuring tape off. |
toggle() | Maßband ein oder aus.Measuring tape on or off. |
clear() | Messung löschen.Clear the measurement. |
Umriss um ein Objekt: beim Darüberfahren, nach dem Antippen oder immer. Zeigt, was man anklicken kann oder was ausgewählt ist.Outline around an object: on hover, after tapping or always. Shows what can be clicked or what is selected.
Kostet nur, solange er sichtbar ist (ein Zeichenaufruf je Mesh). Geht auch mit Figuren mit Skelett. Auf dem Handy gibt es kein Hover: dort selected oder always nehmen.Costs only while it is visible (one draw call per mesh). Works with rigged characters too. Phones have no hover: use selected or always there.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt mit Umriss. Leer: dieses Objekt samt Kindern.Object with the outline. Empty: this object and its children. |
color | color = "#f4d03f" | Farbe des Umrisses.Outline color. |
width | number = 0.01 | Breite in Metern.Width in meters. |
mode | enum(hover | selected | always) = "hover" | hover: solange der Zeiger darüber ist (Maus, VR-Controller). selected: nach dem Antippen bis zum nächsten Antippen. always: immer.hover: while the pointer is over it (mouse, VR controller). selected: after tapping until the next tap. always: always. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
show() | Umriss zeigen.Show the outline. |
hide() | Umriss verbergen.Hide the outline. |
toggle() | Umriss umschalten.Toggle the outline. |
setColor() | Neue Farbe (Text: #rrggbb).New color (text: #rrggbb). |
Löst Ereignisse aus, wenn die Kamera (der Besucher) in einen Kugelradius um das Objekt tritt oder ihn verlässt.Triggers events when the camera (the visitor) enters or leaves a sphere around the object.
Steht die Kamera beim Start schon innen, kommt sofort ein Enter.If the camera already stands inside at the start, Enter fires immediately.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
radius | number = 2 | Radius der Kugel in Szenen-Einheiten.Radius of the sphere in scene units. |
exitMargin | number = 0.2 | Zusätzlicher Abstand zum Verlassen, gegen Flackern an der Grenze.Extra distance needed to leave, against flicker at the edge. |
enterEvent | event | Aufrufe beim Betreten.Calls on entering. |
exitEvent | event | Aufrufe beim Verlassen.Calls on leaving. |
Lässt ein Objekt bei Auswahl kurz größer werden und zurückfedern, als Rückmeldung auf einen Klick.Briefly enlarges an object and lets it spring back when selected, as feedback for a click.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das den Impuls zeigt. Leer: das eigene Objekt.The object that shows the pulse. Empty: this object. |
factor | number = 1.2 | Größter Faktor während des Impulses (1,2 = 20 % größer).Largest scale during the pulse (1.2 = 20% larger). |
duration | number = 0.3 | Dauer des Impulses in Sekunden.Duration of the pulse in seconds. |
sync | boolean = true | Im gemeinsamen Raum sehen alle den Impuls, wenn einer das Objekt antippt.In a shared room everyone sees the pulse when someone taps the object. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Lässt das Ziel kurz aufpulsen.Makes the target pulse briefly. |
Öffnet bei Auswahl eine Internetadresse. Erlaubt sind nur http, https und mailto.Opens a web address when selected. Only http, https and mailto are allowed.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
url | string = "" | Die Adresse, zum Beispiel https://example.org.The address, for example https://example.org. |
target | enum(_blank | _self) = "_blank" | _blank: neuer Tab, _self: im selben Tab._blank: new tab, _self: same tab. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Öffnet die Adresse.Opens the address. |
Tauscht bei Auswahl das Material eines Objekts gegen ein Material aus der GLB-Datei.Swaps the material of an object for a material from the GLB file when selected.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, dessen Meshes das neue Material bekommen. Leer: das eigene Objekt.The object whose meshes receive the new material. Empty: this object. |
material | material | Das neue Material. Es muss in der Szene an einem Mesh vorkommen.The new material. It must be used by a mesh in the scene. |
toggle | boolean = false | Beim nächsten Klick zurück zu den ursprünglichen Materialien.On the next click, switch back to the original materials. |
sync | boolean = true | Im gemeinsamen Raum gilt der Wechsel für alle, auch für später Hinzukommende.In a shared room the change applies to everyone, also to those who join later. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Wechselt das Material wie beim Antippen.Changes the material as when tapped. |
Setzt beim Antippen einer Fläche etwas dort ab, wo der Finger sie trifft: einen Baum auf den Boden, ein Bild an die Wand, eine Figur auf den Tisch. Die Komponente liegt an der Fläche, template nennt das Objekt. Für alle im Raum an denselben Stellen.Places something where the finger hits a surface when it is tapped: a tree on the floor, a picture on the wall, a figure on the table. The component sits on the surface, template names the object. At the same spots for everyone in the room.
Die Fläche braucht ein Mesh, das sich antippen lässt: der Boden des Szenen-Setups (ShadowCatcher) genügt, in AR ist das der echte Boden. Kopien bringen die Komponenten der Vorlage mit (Animation, Tween, Rotate, Ton), nicht aber Hide. Die Vorlage in Metern bauen, ihr Ursprung ist der Punkt, der auf der Fläche steht.The surface needs a mesh that can be tapped: the floor of the scene setup (ShadowCatcher) is enough, in AR that is the real floor. Copies bring the components of the template along (Animation, Tween, Rotate, sound), but not Hide. Build the template in meters, its origin is the point that stands on the surface.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
template | node | Das Objekt, das abgesetzt wird. Es liegt irgendwo in der Szene und wird beim Start verborgen.The object that is placed. It lies anywhere in the scene and is hidden at start. |
mode | enum(copy | move) = "copy" | copy: jeder Tipp setzt eine neue Kopie ab. move: es gibt nur das eine Objekt, jeder Tipp versetzt es.copy: every tap places a new copy. move: there is only the one object, every tap moves it. |
maxCopies | number = 10 | Höchstzahl der Kopien; bei mehr verschwindet die älteste. 0 = unbegrenzt.Maximum number of copies; beyond that the oldest disappears. 0 = unlimited. |
facing | enum(visitor | random | keep) = "visitor" | Drehung um die Senkrechte: visitor = Vorderseite (blauer Pfeil) zum Besucher, random = zufällig, keep = wie die Vorlage.Turn around the vertical: visitor = front (blue arrow) towards the visitor, random = random, keep = as the template. |
alignToSurface | boolean = false advanced | Senkrecht auf die getroffene Fläche stellen (Wände, Schrägen) statt aufrecht.Stand perpendicular on the surface that was hit (walls, slopes) instead of upright. |
popIn | number = 0.35 | Sekunden, in denen das Abgesetzte aufploppt. 0: sofort da.Seconds in which the placed object pops up. 0: there at once. |
hideTemplate | boolean = true advanced | Die Vorlage beim Start verbergen. Aus: sie bleibt als erstes Exemplar sichtbar.Hide the template at start. Off: it stays visible as the first specimen. |
sync | boolean = true | Alle im Raum sehen dieselben Objekte an denselben Stellen, auch wer später kommt.Everyone in the room sees the same objects at the same spots, also whoever joins later. |
onPlace | event | Wenn etwas abgesetzt wurde (z. B. ein Ton).When something was placed (e.g. a sound). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
undo() | Nimmt das zuletzt Abgesetzte wieder weg.Takes away what was placed last. |
clear() | Nimmt alles Abgesetzte weg.Takes away everything that was placed. |
Setzt oder verschiebt Position, Drehung und Größe eines Objekts bei Auswahl, wahlweise sanft über eine Dauer.Sets or offsets the position, rotation and scale of an object when selected, optionally smoothly over a duration.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das sich ändert. Leer: das eigene Objekt.The object to change. Empty: this object. |
usePosition | boolean = false | Position verändern.Change the position. |
position | vec3 (position) = [0,0,0] | Zielposition in Szenen-Einheiten (lokal zum Elternobjekt).Target position in scene units (local to the parent). |
useRotation | boolean = false | Drehung verändern.Change the rotation. |
rotation | vec3 (euler) = [0,0,0] | Zieldrehung in Grad (X, Y, Z).Target rotation in degrees (X, Y, Z). |
useScale | boolean = false | Größe verändern.Change the scale. |
scale | vec3 = [1,1,1] | Zielgröße als Faktor (1 = unverändert).Target scale as a factor (1 = unchanged). |
relative | boolean = false | An: Werte werden zum aktuellen Stand addiert (Größe: multipliziert). Aus: Werte werden gesetzt.On: values are added to the current state (scale: multiplied). Off: values are set. |
duration | number = 0 | Dauer in Sekunden. 0 = sofort.Duration in seconds. 0 = instant. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Bewegt das Ziel wie beim Antippen.Moves the target as when tapped. |
Blendet ein Objekt bei Auswahl ein, aus oder schaltet es um. Ein ausgeblendetes Objekt ist inaktiv: seine Komponenten ruhen.Shows, hides or toggles an object when selected. A hidden object is inactive: its components pause.
Wird das eigene Objekt ausgeblendet, lässt es sich nicht mehr anklicken. Zum Zurückschalten das Ziel auf ein anderes Objekt legen.If the object hides itself it can no longer be clicked. To switch it back, point the target at another object.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das geschaltet wird. Leer: das eigene Objekt.The object to switch. Empty: this object. |
mode | enum(toggle | show | hide) = "toggle" | toggle: umschalten, show: einblenden, hide: ausblenden.toggle: switch, show: reveal, hide: conceal. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Schaltet das Ziel wie beim Antippen.Switches the target as when tapped. |
show() | Blendet das Ziel ein, egal was unter mode steht.Shows the target, whatever mode says. |
hide() | Blendet das Ziel aus, egal was unter mode steht.Hides the target, whatever mode says. |
PhysikPhysics
Quader als Form für die Physik. In Unity legst du Unitys eigenen Box Collider an.A box as the shape for physics. In Unity you add Unity's own Box Collider.
Ohne Rigidbody am Objekt oder darüber steht der Collider fest in der Szene (Boden, Wand).Without a Rigidbody on the object or above it the collider is a fixed part of the scene (floor, wall).
In Unity: Unitys eigene Komponente BoxCollider.In Unity: Unity’s own component BoxCollider.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
center | vec3 = [0,0,0] | Mittelpunkt im lokalen System des Objekts, in Metern.Center in the local space of the object, in meters. |
size | vec3 = [1,1,1] | Kantenlängen in Metern (mal der Skalierung des Objekts).Edge lengths in meters (times the scale of the object). |
isTrigger | boolean = false | Auslöser: meldet Berührungen (CollisionEvents), hält aber nichts auf.Trigger: reports contacts (CollisionEvents) but stops nothing. |
friction | number = 0.6 | Reibung: 0 = Eis, 0,6 = normal, 1 = Gummi (aus Unitys Physics Material).Friction: 0 = ice, 0.6 = normal, 1 = rubber (from Unity's Physics Material). |
bounciness | number = 0 | Sprungkraft: 0 = bleibt liegen, 1 = springt fast gleich hoch zurück.Bounciness: 0 = stays down, 1 = bounces back almost as high. |
frictionCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Reibung zweier Collider verrechnet wird: Mittel, kleinere, Produkt oder größere (Unity: Friction Combine).How the friction of two colliders is combined: average, smaller, product or larger (Unity: Friction Combine). |
bounceCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Sprungkraft zweier Collider verrechnet wird. maximum: der Ball springt auch auf stumpfem Boden (Unity: Bounce Combine).How the bounciness of two colliders is combined. maximum: the ball bounces even on a dull floor (Unity: Bounce Combine). |
Kapsel als Form für die Physik, gut für Figuren und Stäbe. In Unity legst du Unitys eigenen Capsule Collider an.A capsule as the shape for physics, good for characters and rods. In Unity you add Unity's own Capsule Collider.
In Unity: Unitys eigene Komponente CapsuleCollider.In Unity: Unity’s own component CapsuleCollider.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
center | vec3 = [0,0,0] | Mittelpunkt im lokalen System des Objekts, in Metern.Center in the local space of the object, in meters. |
radius | number = 0.5 | Radius in Metern.Radius in meters. |
height | number = 2 | Gesamthöhe samt den runden Kappen, in Metern.Total height including the round caps, in meters. |
direction | enum(x | y | z) = "y" | Achse der Kapsel im lokalen System: x, y oder z.Axis of the capsule in local space: x, y or z. |
isTrigger | boolean = false | Auslöser: meldet Berührungen (CollisionEvents), hält aber nichts auf.Trigger: reports contacts (CollisionEvents) but stops nothing. |
friction | number = 0.6 | Reibung: 0 = Eis, 0,6 = normal, 1 = Gummi.Friction: 0 = ice, 0.6 = normal, 1 = rubber. |
bounciness | number = 0 | Sprungkraft: 0 = bleibt liegen, 1 = springt fast gleich hoch zurück.Bounciness: 0 = stays down, 1 = bounces back almost as high. |
frictionCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Reibung zweier Collider verrechnet wird: Mittel, kleinere, Produkt oder größere (Unity: Friction Combine).How the friction of two colliders is combined: average, smaller, product or larger (Unity: Friction Combine). |
bounceCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Sprungkraft zweier Collider verrechnet wird. maximum: der Ball springt auch auf stumpfem Boden (Unity: Bounce Combine).How the bounciness of two colliders is combined. maximum: the ball bounces even on a dull floor (Unity: Bounce Combine). |
Löst Aufrufe aus, wenn etwas den Collider oder Körper dieses Objekts berührt oder in seinen Auslöser eintritt, und wenn es wieder weg ist. Ohne Code.Runs calls when something touches the collider or body of this object or enters its trigger, and when it has left again. No code needed.
Für eine Zone: Collider mit „Is Trigger“ ohne Rigidbody, dazu CollisionEvents. Mindestens einer der beiden Beteiligten braucht einen Rigidbody. Wird das andere Objekt ausgeblendet, gilt das als Verlassen (onExit). Wird dieses Objekt selbst ausgeblendet, ruht die Komponente: kein onExit; beim Einblenden beginnt sie neu.For a zone: a collider with "Is Trigger" and no Rigidbody, plus CollisionEvents. At least one of the two parties needs a Rigidbody. Hiding the other object counts as leaving (onExit). Hiding this object itself puts the component to rest: no onExit; it starts again when the object is shown.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
other | node | Nur dieses Objekt (oder etwas darin) zählt. Leer: alles.Only this object (or something inside it) counts. Empty: anything. |
everyObject | boolean = false | Aus: onEnter beim ersten Objekt, onExit, wenn das letzte weg ist (Zone belegt oder frei). An: für jedes Objekt einzeln (Tore zählen).Off: onEnter for the first object, onExit when the last one has left (zone occupied or free). On: for every object separately (counting goals). |
onEnter | event | Aufrufe, wenn eine Berührung beginnt bzw. etwas eintritt.Calls when a contact starts or something enters. |
onExit | event | Aufrufe, wenn die Berührung endet bzw. es wieder draußen ist.Calls when the contact ends or it has left again. |
Form für die Physik aus dem sichtbaren Mesh des Objekts. In Unity legst du Unitys eigenen Mesh Collider an.A physics shape made from the visible mesh of the object. In Unity you add Unity's own Mesh Collider.
Box, Kugel und Kapsel rechnen deutlich schneller. Ein bewegter Körper bekommt immer die konvexe Hülle. Im Web zählt das sichtbare Mesh des Objekts, nicht ein abweichendes Mesh im Collider.Box, sphere and capsule are much faster. A moving body always gets the convex hull. On the web the visible mesh of the object counts, not a different mesh set in the collider.
In Unity: Unitys eigene Komponente MeshCollider.In Unity: Unity’s own component MeshCollider.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
convex | boolean = false | Konvexe Hülle um das Mesh. Für bewegte Körper nötig; ohne Haken das genaue Dreiecksnetz, nur für Festes.Convex hull around the mesh. Required for moving bodies; unchecked the exact triangle mesh, for fixed things only. |
isTrigger | boolean = false | Auslöser: meldet Berührungen (CollisionEvents), hält aber nichts auf.Trigger: reports contacts (CollisionEvents) but stops nothing. |
friction | number = 0.6 | Reibung: 0 = Eis, 0,6 = normal, 1 = Gummi.Friction: 0 = ice, 0.6 = normal, 1 = rubber. |
bounciness | number = 0 | Sprungkraft: 0 = bleibt liegen, 1 = springt fast gleich hoch zurück.Bounciness: 0 = stays down, 1 = bounces back almost as high. |
frictionCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Reibung zweier Collider verrechnet wird: Mittel, kleinere, Produkt oder größere (Unity: Friction Combine).How the friction of two colliders is combined: average, smaller, product or larger (Unity: Friction Combine). |
bounceCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Sprungkraft zweier Collider verrechnet wird. maximum: der Ball springt auch auf stumpfem Boden (Unity: Bounce Combine).How the bounciness of two colliders is combined. maximum: the ball bounces even on a dull floor (Unity: Bounce Combine). |
Stößt einen Körper an, beim Antippen oder aus einer EventList, und setzt ihn zurück. Gilt für den Rigidbody am Objekt oder den nächsten darüber.Pushes a body, when tapped or from an EventList, and resets it. Applies to the Rigidbody on the object or the nearest one above it.
Zusammen mit DragControls: kurzes Antippen stößt an, Ziehen greift und wirft.Together with DragControls: a short tap pushes, dragging grabs and throws.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
onClick | boolean = true | Antippen oder Anklicken stößt den Körper an.Tapping or clicking pushes the body. |
strength | number = 4 | Stärke des Stoßes als Geschwindigkeit in Metern pro Sekunde, unabhängig von der Masse.Strength of the push as a speed in meters per second, independent of the mass. |
direction | enum(awayFromCamera | up | forward | random) = "awayFromCamera" | awayFromCamera: vom Betrachter weg. up: nach oben. forward: entlang +Z des Objekts (blauer Pfeil). random: irgendwohin.awayFromCamera: away from the viewer. up: upwards. forward: along +Z of the object (blue arrow). random: anywhere. |
target | node | Ziel: Der Stoß geht in Richtung dieses Objekts, statt in die eingestellte Richtung.Target: the push goes towards this object instead of the chosen direction. |
lift | number (0–1) = 0.35 | Anteil des Stoßes nach oben: 0 % flach über den Boden, 100 % senkrecht.Share of the push that goes upwards: 0 % flat along the floor, 100 % straight up. |
spin | number = 0 | Zusätzliche Drehung um eine zufällige Achse, in Radiant pro Sekunde. 0 = keine.Extra spin around a random axis, in radians per second. 0 = none. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
push() | Stößt den Körper an wie beim Antippen.Pushes the body as when tapped. |
reset() | Setzt den Körper an seinen Ausgangsort zurück, ohne Bewegung.Puts the body back at its starting place, without motion. |
freeze() | Hält den Körper fest, bis unfreeze.Holds the body in place until unfreeze. |
unfreeze() | Lässt einen festgehaltenen Körper wieder los.Lets a frozen body move again. |
toggleFrozen() | Wechselt zwischen festgehalten und frei.Switches between frozen and free. |
Einstellungen der Physik für die ganze Szene: Schwerkraft, Anhalten, alles zurücksetzen. Einmal je Szene, nur nötig, wenn die Standardwerte nicht passen.Physics settings for the whole scene: gravity, pausing, resetting everything. Once per scene, only needed if the defaults do not fit.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
gravity | number = 9.81 | Schwerkraft nach unten in m/s²: 9,81 = Erde, 1,62 = Mond, 0 = schwerelos.Gravity downwards in m/s²: 9.81 = Earth, 1.62 = Moon, 0 = weightless. |
startPaused | boolean = false | Die Physik steht beim Start still, bis resume aufgerufen wird.Physics stands still at the start until resume is called. |
showColliders | boolean = false | Zeigt alle Collider als Linien, zum Prüfen der Formen.Shows all colliders as lines, to check the shapes. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
pause() | Hält die Physik an.Pauses physics. |
resume() | Lässt die Physik weiterlaufen.Lets physics continue. |
togglePause() | Wechselt zwischen angehalten und laufend.Switches between paused and running. |
resetAll() | Setzt alle Körper an ihren Ausgangsort zurück, im gemeinsamen Raum bei allen.Puts all bodies back at their starting places, in a shared room for everyone. |
setGravity() | Setzt die Schwerkraft (Argument: m/s², z. B. 1.62).Sets gravity (argument: m/s², e.g. 1.62). |
toggleColliders() | Blendet die Collider-Linien ein oder aus.Shows or hides the collider lines. |
Macht ein Objekt zu einem Körper der Physik: Es fällt, stößt an und lässt sich schieben und werfen. In Unity legst du dafür Unitys eigenen Rigidbody an, der Export übernimmt ihn.Turns an object into a physics body: it falls, collides and can be pushed and thrown. In Unity you add Unity's own Rigidbody, the export takes it over.
Collider am Objekt und an seinen Kindern gehören zum Körper; ohne Collider entsteht ein Quader um die Meshes. Mit DragControls lässt sich der Körper greifen und werfen. Mit SharedTransform am selben Objekt sehen alle im Raum dieselbe Bewegung. Dynamische Körper nicht unter bewegte Eltern hängen.Colliders on the object and its children belong to the body; without a collider a box around the meshes is used. With DragControls the body can be grabbed and thrown. With SharedTransform on the same object everyone in the room sees the same motion. Do not parent dynamic bodies to moving objects.
In Unity: Unitys eigene Komponente Rigidbody.In Unity: Unity’s own component Rigidbody.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
motion | enum(dynamic | kinematic | fixed) = "dynamic" | dynamic: von Kräften bewegt. kinematic: von Animation oder Code bewegt, schiebt andere beiseite (Unity: Is Kinematic). fixed: steht fest.dynamic: moved by forces. kinematic: moved by animation or code, pushes others aside (Unity: Is Kinematic). fixed: does not move. |
mass | number = 1 | Gesamtmasse in Kilogramm. Schwere Körper schieben leichte weg.Total mass in kilograms. Heavy bodies push light ones away. |
drag | number = 0 | Dämpfung der Bewegung (Unity: Linear Damping). 0 = keine.Damping of the movement (Unity: Linear Damping). 0 = none. |
angularDrag | number = 0.05 | Dämpfung der Drehung (Unity: Angular Damping).Damping of the rotation (Unity: Angular Damping). |
useGravity | boolean = true | Die Schwerkraft wirkt auf den Körper.Gravity acts on the body. |
continuous | boolean = false | Verhindert, dass schnelle Körper durch dünne Wände fliegen (Unity: Collision Detection ≠ Discrete). Kostet Rechenzeit.Keeps fast bodies from flying through thin walls (Unity: Collision Detection ≠ Discrete). Costs computing time. |
freezePosition | string = "" | Gesperrte Achsen der Bewegung, z. B. "xz" (Unity: Constraints).Locked axes of movement, e.g. "xz" (Unity: Constraints). |
freezeRotation | string = "" | Gesperrte Achsen der Drehung, z. B. "xyz".Locked axes of rotation, e.g. "xyz". |
Kugel als Form für die Physik; die schnellste Form. In Unity legst du Unitys eigenen Sphere Collider an.A sphere as the shape for physics; the fastest shape. In Unity you add Unity's own Sphere Collider.
In Unity: Unitys eigene Komponente SphereCollider.In Unity: Unity’s own component SphereCollider.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
center | vec3 = [0,0,0] | Mittelpunkt im lokalen System des Objekts, in Metern.Center in the local space of the object, in meters. |
radius | number = 0.5 | Radius in Metern (mal der größten Skalierung des Objekts).Radius in meters (times the largest scale of the object). |
isTrigger | boolean = false | Auslöser: meldet Berührungen (CollisionEvents), hält aber nichts auf.Trigger: reports contacts (CollisionEvents) but stops nothing. |
friction | number = 0.6 | Reibung: 0 = Eis, 0,6 = normal, 1 = Gummi.Friction: 0 = ice, 0.6 = normal, 1 = rubber. |
bounciness | number = 0 | Sprungkraft: 0 = bleibt liegen, 1 = springt fast gleich hoch zurück.Bounciness: 0 = stays down, 1 = bounces back almost as high. |
frictionCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Reibung zweier Collider verrechnet wird: Mittel, kleinere, Produkt oder größere (Unity: Friction Combine).How the friction of two colliders is combined: average, smaller, product or larger (Unity: Friction Combine). |
bounceCombine | enum(average | minimum | multiply | maximum) = "average" advanced | Wie die Sprungkraft zweier Collider verrechnet wird. maximum: der Ball springt auch auf stumpfem Boden (Unity: Bounce Combine).How the bounciness of two colliders is combined. maximum: the ball bounces even on a dull floor (Unity: Bounce Combine). |
AnimationAnimation
Spielt Animationsclips aus der GLB-Datei ab, mit Schleife, Geschwindigkeit und Überblendung. Clips lassen sich auch per Name anstoßen.Plays animation clips from the GLB file with looping, speed and cross-fading. Clips can also be started by name.
Methoden für Ereignisse: play, stop, pause, resume, crossFadeTo. Zeitpunkte im Clip lösen mit AnimationMarker Ereignisse aus. offscreen nicht für Objekte nehmen, die der Clip weit bewegt (etwa ein Auto, das ins Bild fährt): außerhalb des Bildes bleiben sie stehen.Methods for events: play, stop, pause, resume, crossFadeTo. Points in the clip trigger events with AnimationMarker. Do not use offscreen for objects the clip moves far (such as a car driving into view): off screen they stand still.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node advanced | Wurzel, unter der die Clips ihre Objekte suchen. Leer: das eigene Objekt.Root under which the clips look up their objects. Empty: this object. |
clip | clip | Der Standard-Clip. Muss in der GLB-Datei vorkommen.The default clip. It must exist in the GLB file. |
autoplay | boolean = true | Den Standard-Clip beim Start abspielen.Play the default clip on start. |
loop | enum(repeat | once | pingpong) = "repeat" | repeat: wiederholen, once: einmal und am Ende stehen bleiben, pingpong: vor und zurück.repeat: loop, once: play once and hold the last frame, pingpong: back and forth. |
speed | number = 1 | Abspielgeschwindigkeit (1 = normal).Playback speed (1 = normal). |
sync | boolean = true advanced | Im gemeinsamen Raum (SharedRoom) läuft die Animation auf allen Geräten gleich: derselbe Clip an derselben Stelle. Geteilt wird nur, wann ein Clip begonnen hat, nicht jedes Bild; wer später dazukommt, sieht sofort die richtige Stelle. Ohne Raum ohne Wirkung.In a shared room (SharedRoom) the animation runs the same on all devices: the same clip at the same point. Only when a clip started is shared, not every frame; whoever joins later sees the right point at once. No effect without a room. |
culling | enum(auto | always | offscreen) = "auto" advanced | Wann die Bewegung berechnet wird. auto: Figuren mit Skin nur, wenn sie im Bild sind, kleine und ferne seltener; alles andere immer. offscreen: auch andere Objekte nur im Bild. always: immer. Die Zeit läuft in jedem Fall weiter (Marker, gemeinsamer Raum).When the motion is computed. auto: characters with a skin only while on screen, small and distant ones less often; everything else always. offscreen: other objects only on screen too. always: always. Time keeps running in every case (markers, shared room). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Spielt den Standard-Clip von vorn.Plays the default clip from the start. |
pause() | Hält die Animation an.Pauses the animation. |
resume() | Setzt die Animation fort.Resumes the animation. |
stop() | Beendet die Animation, Objekte springen zurück.Stops the animation, objects jump back. |
Löst Ereignisse aus, wenn eine Animation eine Stelle im Clip erreicht: eine Zeit in Sekunden oder einen benannten Marker (Animation Event in Unity). Zum Beispiel ein Schrittgeräusch, eine Info oder einen Knopf genau im richtigen Moment. Im gemeinsamen Raum feuert er auf jedem Gerät selbst.Triggers events when an animation reaches a point in the clip: a time in seconds or a named marker (Animation Event in Unity). For example a footstep sound, an info or a button at exactly the right moment. In a shared room it fires on every device by itself.
Animation Events aus Unity kommen beim Export mit (Funktionsname und Zeit); die Funktion selbst muss es in Unity nicht geben. Beim Überblenden feuert der ausblendende Clip nur, solange er mehr als halb sichtbar ist (keine doppelten Schritte).Animation Events from Unity are exported (function name and time); the function itself does not need to exist in Unity. While cross-fading, the clip fading out only fires while it is more than half visible (no double steps).
ErgänztExtends Animation, Animator
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | component<Animation> advanced | Die Animation, die beobachtet wird. Leer: Animation oder Animator am eigenen Objekt.The animation to watch. Empty: the Animation or Animator on this object. |
clip | clip | Der Clip. Leer: bei einer Zeit der Standard-Clip der Animation (beim Animator Pflicht), bei einem Marker-Namen jeder Clip.The clip. Empty: with a time the default clip of the animation (required with an Animator), with a marker name any clip. |
marker | string = "" | Name eines Markers: in Unity ein Animation Event am Clip, der Name ist der Funktionsname. Leer: es gilt die Zeit.Name of a marker: in Unity an Animation Event on the clip, the name is the function name. Empty: the time applies. |
time | number = 0 | Zeit im Clip in Sekunden, wenn kein Marker-Name gesetzt ist.Time in the clip in seconds when no marker name is set. |
onReached | event | Was passiert, wenn die Stelle erreicht ist. Auch bei mehreren Durchläufen je Bild und rückwärts.What happens when the point is reached. Also with several loops per frame and backwards. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
fire() | Löst die Ereignisse sofort aus, wie beim Erreichen der Stelle.Triggers the events at once, as when the point is reached. |
Ereignisse und Einstellungen für einen Unity-Animator. Der Animator selbst (Controller mit Zuständen, Übergängen, Parametern, 1D-Blend-Trees) wird auch ohne diese Komponente exportiert. Sie wird gebraucht für Ereignisse bei Zuständen und Markern (+ State Event, + Marker), für Tempo und den gemeinsamen Raum. Knöpfe steuern den Animator über Parameter, im gemeinsamen Raum läuft er auf allen Geräten gleich.Events and settings for a Unity Animator. The Animator itself (controller with states, transitions, parameters, 1D blend trees) is exported even without this component. It is needed for events on states and markers (+ State Event, + Marker), for speed and the shared room. Buttons drive the Animator via parameters; in a shared room it runs the same on all devices.
Unterstützt: eine Ebene, Zustände mit Clip oder 1D-Blend-Tree, Übergänge mit Bedingungen, Exit Time, Dauer (fest oder anteilig), Offset, Any State, Exit, Tempo-Parameter. Noch nicht: weitere Ebenen, Masken, Sub-State-Machines, 2D-Blend-Trees, Unterbrechen von Übergängen. Methoden mit einem Argument für Ereignisse: setTrigger("wave"), toggle("walking"), set("speed=1.5"), play("Idle"), crossFade("Idle"). Im DebugPanel: Objekt.Animator.state und Objekt.Animator.parameters.Supported: one layer, states with a clip or a 1D blend tree, transitions with conditions, exit time, duration (fixed or relative), offset, Any State, Exit, speed parameter. Not yet: further layers, masks, sub-state machines, 2D blend trees, interrupting transitions. Methods with one argument for events: setTrigger("wave"), toggle("walking"), set("speed=1.5"), play("Idle"), crossFade("Idle"). In the DebugPanel: Object.Animator.state and Object.Animator.parameters.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node advanced | Wurzel, unter der die Clips ihre Objekte suchen. Leer: das eigene Objekt.Root under which the clips look up their objects. Empty: this object. |
speed | number = 1 advanced | Tempo des ganzen Automaten (1 = normal).Speed of the whole state machine (1 = normal). |
sync | boolean = true advanced | Im gemeinsamen Raum (SharedRoom) teilen alle Geräte Parameter und Zustand; wer später kommt, steht an derselben Stelle. Ohne Raum ohne Wirkung.In a shared room (SharedRoom) all devices share parameters and state; whoever joins later is at the same point. No effect without a room. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setTrigger() | Setzt einen Trigger (Name als Argument).Sets a trigger (name as argument). |
resetTrigger() | Nimmt einen gesetzten Trigger zurück.Clears a set trigger. |
toggle() | Schaltet einen Bool-Parameter um (Name als Argument).Toggles a bool parameter (name as argument). |
set() | Setzt einen Parameter aus Text, z.B. "walking=true" oder "speed=1.5".Sets a parameter from text, e.g. "walking=true" or "speed=1.5". |
play() | Wechselt sofort in den genannten Zustand.Switches to the named state at once. |
crossFade() | Blendet in 0,25 s in den genannten Zustand über.Cross-fades to the named state in 0.25 s. |
blend() | Spielt einen Blend (Name als Argument), z.B. "Waving".Plays a blend (name as argument), e.g. "Waving". |
stopBlend() | Blendet einen Blend aus.Fades a blend out. |
toggleBlend() | Schaltet einen Blend ein oder aus.Switches a blend on or off. |
setBlend() | Stärke eines Blends, z.B. "Waving=0.4" oder "Waving=40%".Strength of a blend, e.g. "Waving=0.4" or "Waving=40%". |
Blendet eine Animation über das, was der Animator gerade spielt: für einen Körperbereich und mit einer Stärke in Prozent. Zum Beispiel Winken mit 70 % über Gehen, nur am Oberkörper. „always“ läuft dauernd mit (etwa leichtes Umschauen), „trigger“ läuft auf Knopf oder Ereignis einmal ab.Blends an animation over whatever the Animator is playing: for a body part and with a strength in percent. For example waving at 70 % over walking, upper body only. "always" runs all the time (such as looking around a little), "trigger" plays once on a button or event.
Mehrere Blends wirken in ihrer Reihenfolge übereinander. Knöpfe: Animator → blend("Waving"); Stärke zur Laufzeit: setBlend("Waving=40%"). Im DebugPanel: Objekt.AnimatorBlend.current.Several blends act on top of each other in their order. Buttons: Animator → blend("Waving"); strength at runtime: setBlend("Waving=40%"). In the DebugPanel: Object.AnimatorBlend.current.
ErgänztExtends Animator
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
clip | clip | Der Clip. Er muss nicht im Animator Controller stehen, der Export nimmt ihn mit.The clip. It does not have to be in the Animator Controller, the export takes it along. |
bodyPart | enum(upperBody | fullBody | arms | rightArm | leftArm | head | legs | custom) = "upperBody" | Wo die Überblendung wirkt: Oberkörper, ganzer Körper, beide Arme, rechter oder linker Arm, Kopf, Beine, oder custom (eigene Auswahl an der Figur).Where the blend acts: upper body, full body, both arms, right or left arm, head, legs, or custom (own selection on the figure). |
bones | string = "" | Eigene Auswahl: In Unity auf die Figur klicken (ein Bereich wirkt samt allem, was daran hängt; Shift-Klick nur dieser Knochen) oder die Knochen in der Scene-Ansicht anklicken. Gespeichert als Regeln wie +Spine|-Neck.Own selection: in Unity click the figure (a part acts with everything attached to it; Shift-click only this bone) or click the bones in the Scene view. Stored as rules such as +Spine|-Neck. |
transition | number = 0 | Weicher Übergang an der Grenze der Auswahl, in Knochen: bei 2 wirkt der erste Knochen zu 33 %, der zweite zu 66 %, dann voll. 0 = harte Kante.Smooth transition at the border of the selection, in bones: with 2 the first bone acts at 33 %, the second at 66 %, then fully. 0 = hard edge. |
bodyFollow | number (0–1) = 0 | Der Körper über der Auswahl (Schulter, Brust, Hüfte) nimmt die Drehung des Clips mit, nah an der Auswahl stärker. Die Bewegung darunter bleibt erhalten: Winken beim Gehen dreht die Brust mit, das Schwingen des Gehens läuft weiter. Gut: 20–40 %.The body above the selection (shoulder, chest, hips) takes along the rotation of the clip, stronger close to the selection. The motion below is kept: waving while walking turns the chest along, the sway of the walk goes on. Good: 20–40 %. |
autoBalance | number (0–1) = 0 | Künstliche Reaktion, auch wenn der Clip keine Körperbewegung enthält: Hebt sich der Arm, geht die Schulter ein Stück mit und die Brust gleicht leicht aus; beim Bein reagiert das Becken. Gut: 15–30 %.Artificial reaction, even if the clip has no body motion: when the arm rises, the shoulder goes along a little and the chest balances slightly; for a leg the pelvis reacts. Good: 15–30 %. |
startOn | enum(now | anyStep | leftStep | rightStep) = "now" | Start im Schrittrhythmus: now = sofort; anyStep, leftStep, rightStep = beim nächsten (linken, rechten) Schritt der laufenden Animation, z.B. ein Tritt aus dem Lauf. Steht die Figur, startet er sofort. Braucht Schritt-Marker (Character Setup legt sie an).Start in step with the walk: now = immediately; anyStep, leftStep, rightStep = on the next (left, right) step of the running animation, e.g. a kick out of a run. If the figure stands, it starts immediately. Needs step markers (Character Setup adds them). |
weight | number (0–1) = 1 | Stärke: 100 % = ganz der Clip, 50 % = halb Clip, halb die Animation darunter.Strength: 100 % = the clip fully, 50 % = half clip, half the animation below. |
mode | enum(trigger | always) = "trigger" | trigger: auf Knopf oder Ereignis einmal; always: läuft dauernd mit.trigger: once on a button or event; always: runs all the time. |
control | enum(none | trigger | boolSwitch | floatWeight) = "none" | Steuerung über einen Parameter des Animator Controllers, wie bei Übergängen: trigger = setTrigger startet den Blend (der Trigger wird verbraucht); boolSwitch = solange der Bool wahr ist, läuft er (eine einmalige Geste wiederholt sich); floatWeight = der Float 0 bis 1 ist die Stärke, bei 0 aus. none = nur über blend("…") oder Knöpfe.Control by a parameter of the Animator Controller, as with transitions: trigger = setTrigger starts the blend (the trigger is consumed); boolSwitch = while the bool is true it runs (a one-off gesture repeats); floatWeight = the float 0 to 1 is the strength, off at 0. none = only via blend("…") or buttons. |
parameter | string = "" | Name des Parameters im Animator Controller (▾ zeigt alle). Fehlt er, legt die Animationssuche ihn an.Name of the parameter in the Animator Controller (▾ lists all). The animation finder creates it if missing. |
blending | enum(replace | additive) = "replace" | replace: der Clip ersetzt die Pose im gewählten Bereich; additive: nur seine Veränderung gegenüber dem ersten Bild kommt dazu, die Bewegung darunter bleibt (Atmen, Wippen, Zittern).replace: the clip replaces the pose in the chosen area; additive: only its change against its first frame is added, the motion below stays (breathing, bobbing, trembling). |
label | string = "" advanced | Name für blend("…") und setBlend("…=0.5"). Leer: der Name des Clips.Name for blend("…") and setBlend("…=0.5"). Empty: the name of the clip. |
fadeIn | number = 0.25 advanced | Einblenden in Sekunden.Fade in, in seconds. |
fadeOut | number = 0.3 advanced | Ausblenden in Sekunden.Fade out, in seconds. |
speed | number = 1 advanced | Tempo des Clips (1 = normal).Speed of the clip (1 = normal). |
target | component<Animator> advanced | Der Animator. Leer: der am eigenen Objekt.The Animator. Empty: the one on this object. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Abspielen (always: einschalten).Play (always: switch on). |
stop() | Weich ausblenden.Fade out smoothly. |
toggle() | Ein- oder ausschalten.Switch on or off. |
setWeight() | Stärke 0 bis 1 setzen.Set the strength 0 to 1. |
Löst Ereignisse aus, wenn ein Animator einen Zustand betritt oder verlässt, ohne Code (wie StateMachineBehaviour in Unity). Zum Beispiel ein Geräusch beim Winken oder eine Info, sobald die Figur sitzt.Triggers events when an Animator enters or leaves a state, without code (like StateMachineBehaviour in Unity). For example a sound when waving or an info as soon as the character sits.
Im gemeinsamen Raum löst jedes Gerät die Ereignisse selbst aus, sobald sein Animator den Zustand wechselt.In a shared room every device triggers the events itself as soon as its Animator changes state.
ErgänztExtends Animator
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | component<Animator> advanced | Der Animator. Leer: der am eigenen Objekt.The Animator. Empty: the one on this object. |
state | string = "" | Name des Zustands wie im Animator Controller. Leer: jeder Zustand.Name of the state as in the Animator Controller. Empty: any state. |
onEnter | event | Beim Betreten: wenn die Überblendung in den Zustand beginnt.On enter: when the cross-fade into the state starts. |
onExit | event | Beim Verlassen: wenn die Überblendung aus dem Zustand fertig ist.On exit: when the cross-fade out of the state has finished. |
Regler für eine Formvariante (Blendshape) eines Meshes: Gesichtsausdruck, Klappe auf und zu, Wachstum. Weich über eine Dauer, für alle im Raum gleich.Control for a shape variant (blendshape) of a mesh: facial expression, flap open and closed, growth. Smooth over a duration, the same for everyone in the room.
Mit einem TimelineSlider oder MenuButton (setWeight mit Text „0.7“ oder „70%“) wird daraus ein Regler zum Ausprobieren.With a TimelineSlider or MenuButton (setWeight with text “0.7” or “70%”) it becomes a control to try out.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt mit dem Mesh. Leer: dieses Objekt samt Kindern.Object with the mesh. Empty: this object and its children. |
shape | string = "" | Name der Formvariante, wie am Skinned Mesh Renderer in Unity.Name of the shape variant, as on the Skinned Mesh Renderer in Unity. |
weight | number = 0 | Stärke beim Start, 0 bis 1.Strength at start, 0 to 1. |
duration | number = 0.5 | Sekunden für den Übergang.Seconds for the transition. |
sync | boolean = true advanced | Für alle im Raum gleich.The same for everyone in the room. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setWeight() | Stärke 0 bis 1 (Zahl oder Text „70%“), weich über duration.Strength 0 to 1 (number or text “70%”), smooth over duration. |
toggle() | Zwischen 0 und 1 wechseln.Switch between 0 and 1. |
Spielt Animationen, wenn der Zeiger über das Objekt fährt und es wieder verlässt, zum Beispiel zum Hervorheben.Plays animations when the pointer moves over the object and leaves it again, for example for highlighting.
ErgänztExtends Animation
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | component<Animation> advanced | Die Animation, die abspielt. Leer: die Animation am eigenen Objekt.The animation to play. Empty: the animation on this object. |
enterClip | clip | Clip beim Überfahren (optional).Clip when hovering (optional). |
exitClip | clip | Clip beim Verlassen (optional).Clip when leaving (optional). |
crossFade | number = 0.2 | Dauer der Überblendung in Sekunden.Cross-fade duration in seconds. |
Die Knochen einer menschlichen Figur (Kopf, Hals, Arme, Beine …). In Unity wird die Zuordnung beim Export aus dem Humanoid-Avatar gelesen, es gibt nichts auszufüllen. Andere Komponenten wie LookAtVisitor brauchen sie.The bones of a human figure (head, neck, arms, legs …). In Unity the mapping is read from the Humanoid avatar on export, there is nothing to fill in. Other components such as LookAtVisitor need it.
Die Figur in Unity als Humanoid importieren (Rig → Animation Type: Humanoid), am einfachsten über Mabino → Character Setup. Ohne Unity werden übliche Namen erkannt (Mixamo, VRM, Head, Neck …). Im DebugPanel zeigt Objekt.Humanoid.found die gefundenen Knochen.Import the figure as Humanoid in Unity (Rig → Animation Type: Humanoid), easiest via Mabino → Character Setup. Without Unity common names are detected (Mixamo, VRM, Head, Neck …). In the DebugPanel Object.Humanoid.found shows the bones found.
ErgänztExtends Animator
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
plantFeet | number (0–1) = 1 | Füße bleiben stehen: Bewegen Blends Hüfte oder Körper (Body follow, Auto balance, Gesten mit Hüftbewegung), hält eine Bein-IK jeden Fuß dort, wo ihn Gehen oder Idle hinsetzt, samt Ausrichtung der Sohle. Ein Bein, das ein Blend selbst führt (Tritt), bleibt frei. 0 % = aus.Feet stay planted: when blends move the hips or body (body follow, auto balance, gestures with hip motion), a leg IK keeps each foot where walking or idle puts it, including the angle of the sole. A leg that a blend drives itself (kick) stays free. 0 % = off. |
Die Figur schaut Menschen an: den, der gerade spricht, den Nächsten im Raum oder den Besucher an diesem Gerät. Kopf und Hals drehen sich zusätzlich zur Animation, weich und mit Grenzwinkeln; wer hinter der Figur steht, wird nicht angeschaut.The figure looks at people: whoever is speaking, the nearest person in the room or the visitor on this device. Head and neck turn on top of the animation, smoothly and within limits; nobody behind the figure is looked at.
Im gemeinsamen Raum schaut die Figur auf jedem Gerät denselben Menschen an, ohne Netzverkehr: Alle Geräte sehen dieselben Positionen. Ohne Humanoid reicht ein Objekt namens Head (und Neck). Im DebugPanel zeigt Objekt.LookAtVisitor.target, wen sie anschaut.In a shared room the figure looks at the same person on every device, without network traffic: all devices see the same positions. Without Humanoid an object named Head (and Neck) is enough. In the DebugPanel Object.LookAtVisitor.target shows whom it looks at.
ErgänztExtends Animator
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
look | enum(speaker | nearest | camera) = "speaker" | speaker: wer gerade spricht (VoiceChat), sonst der Nächste. nearest: der nächste Mensch. camera: der Besucher an diesem Gerät.speaker: whoever is speaking (VoiceChat), otherwise the nearest. nearest: the nearest person. camera: the visitor on this device. |
range | number = 8 | Nur Menschen bis zu diesem Abstand in Metern. 0 = ohne Grenze.Only people up to this distance in meters. 0 = no limit. |
maxYaw | number = 70 advanced | Größte Drehung zur Seite in Grad.Largest turn to the side in degrees. |
maxPitch | number = 35 advanced | Größte Drehung nach oben oder unten in Grad.Largest turn up or down in degrees. |
neckShare | number = 0.4 advanced | Anteil des Halses an der Drehung (0 bis 1), den Rest dreht der Kopf.Share of the neck in the turn (0 to 1), the head turns the rest. |
speed | number = 5 advanced | Wie flink der Kopf folgt (höher = schneller).How quickly the head follows (higher = faster). |
weight | number (0–1) = 1 advanced | Stärke des Blicks, 0 bis 1.Strength of the look, 0 to 1. |
humanoid | component<Humanoid> advanced | Die Knochen der Figur. Leer: Humanoid am eigenen Objekt, sonst übliche Namen.The bones of the figure. Empty: Humanoid on this object, otherwise common names. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
pause() | Blick weich ausblenden (z.B. während einer Geste).Fade the look out smoothly (e.g. during a gesture). |
resume() | Blick wieder einblenden.Fade the look back in. |
Die Scrollposition der Seite fährt die Zeitachse: für lange Seiten, in denen die Szene als fester Hintergrund liegt. Der Abschnitt der Seite, in dem die Zeit von 0 auf 1 läuft, ist einstellbar.The scroll position of the page drives the timeline: for long pages where the scene sits as a fixed background. The section of the page in which the time runs from 0 to 1 is adjustable.
Liegt die Szene in einem iframe, sieht sie das Scrollen der Seite nicht: die Seite schickt dann die Zeit über die Brücke (Aktion Timeline.seek).If the scene sits in an iframe it cannot see the page scrolling: the page then sends the time over the bridge (action Timeline.seek).
ErgänztExtends Timeline
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
timeline | component<Timeline> advanced | Die Zeitachse. Leer: eine am eigenen Objekt, sonst die erste der Szene.The timeline. Empty: one on this object, otherwise the first in the scene. |
selector | string = "" | CSS-Selektor des scrollenden Elements. Leer: das Fenster.CSS selector of the scrolling element. Empty: the window. |
startAt | number = 0 | Ab diesem Anteil der Scrollstrecke (0 bis 1) beginnt die Zeitachse.From this fraction of the scroll distance (0 to 1) the timeline starts. |
endAt | number = 1 | Bei diesem Anteil der Scrollstrecke (0 bis 1) ist sie am Ende.At this fraction of the scroll distance (0 to 1) it is at the end. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
apply() | Die Zeit aus der aktuellen Scrollposition setzen.Set the time from the current scroll position. |
Dreht ein Objekt dauerhaft um eine Achse, zum Beispiel ein Zahnrad oder ein Ausstellungsstück.Continuously rotates an object around an axis, for example a gear or an exhibit.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
speed | number = 1 | Drehgeschwindigkeit in Radiant pro Sekunde (6,28 = eine Umdrehung pro Sekunde).Rotation speed in radians per second (6.28 = one turn per second). |
axis | enum(x | y | z) = "y" | Drehachse: x, y oder z.Rotation axis: x, y or z. |
Mausrad und senkrechtes Wischen auf der Szene fahren die Zeitachse, waagerechtes Wischen dreht weiter die Ansicht. Dazu Pfeiltasten, Bild auf/ab, Pos1 und Ende. Für Scroll-Geschichten mit CameraPath: scrollen fährt die Kamera, kurz warten erlaubt das Umschauen.Mouse wheel and vertical swipe on the scene drive the timeline, horizontal swipe still rotates the view. Plus arrow keys, Page Up/Down, Home and End. For scroll stories with CameraPath: scrolling moves the camera, a short pause allows looking around.
Das Mausrad zoomt dann nicht mehr; Finger-Zoom bleibt. In AR und VR ohne Wirkung auf die Kamera, die Zeitachse läuft trotzdem.The mouse wheel no longer zooms; pinch zoom remains. In AR and VR no effect on the camera, the timeline still runs.
ErgänztExtends Timeline
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
timeline | component<Timeline> advanced | Die Zeitachse. Leer: eine am eigenen Objekt, sonst die erste der Szene.The timeline. Empty: one on this object, otherwise the first in the scene. |
pixels | number = 1500 | Pixel Mausrad oder Wischen für die ganze Zeitachse (klein = schnell).Pixels of mouse wheel or swipe for the whole timeline (small = fast). |
touchFactor | number = 2 | Wischen zählt um diesen Faktor stärker als das Mausrad.Swiping counts this many times stronger than the mouse wheel. |
invert | boolean = false | Richtung umkehren.Reverse the direction. |
threshold | number = 12 | Pixel Bewegung, bis die Wischrichtung feststeht (senkrecht = Zeit, waagerecht = drehen).Pixels of movement until the swipe direction is decided (vertical = time, horizontal = rotate). |
keys | boolean = true | Pfeiltasten, Bild auf/ab, Pos1, Ende fahren die Zeitachse.Arrow keys, Page Up/Down, Home, End drive the timeline. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
scrollBy() | Um einen Anteil der Zeitachse weiter (Zahl, negativ zurück).Move by a fraction of the timeline (number, negative back). |
Lässt ein Objekt einem anderen Objekt oder der Kamera weich hinterherlaufen, etwa einen Infokasten, der dem Besucher folgt.Makes an object follow another object or the camera smoothly, for example an info box that follows the visitor.
Die Glättung ist bildratenunabhängig und sieht auf allen Geräten gleich aus.The smoothing is frame-rate independent and looks the same on every device.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Dem Objekt folgen. Leer und followCamera aus: nichts passiert.The object to follow. Empty and followCamera off: nothing happens. |
followCamera | boolean = false | Der aktiven Kamera folgen (hat Vorrang vor target).Follow the active camera (takes precedence over target). |
followPosition | boolean = true | Der Position folgen.Follow the position. |
followRotation | boolean = false | Der Drehung folgen.Follow the rotation. |
offset | vec3 = [0,0,0] | Abstand zum Ziel im Koordinatensystem des Ziels (bei der Kamera: aus Sicht der Kamera).Offset from the target in the target's coordinate system (for the camera: from the camera's view). |
smoothTime | number = 0.3 | Sekunden, bis etwa zwei Drittel des Abstands aufgeholt sind. 0 = sofort.Seconds until about two thirds of the distance are covered. 0 = instant. |
Startet bei Auswahl einen Animationsclip, wahlweise mit Überblendung vom laufenden Clip.Starts an animation clip when selected, optionally cross-fading from the running clip.
ErgänztExtends Animation
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | component<Animation> advanced | Die Animation, die abspielt. Leer: die Animation am eigenen Objekt.The animation to play. Empty: the animation on this object. |
clip | clip | Der Clip, der startet. Leer: der Standard-Clip der Animation.The clip to start. Empty: the default clip of the animation. |
crossFade | number = 0 | Dauer der Überblendung in Sekunden. 0 = hart umschalten.Cross-fade duration in seconds. 0 = hard switch. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Startet den Clip wie beim Antippen.Starts the clip as when tapped. |
Eine Zeitachse über Animationsclips der GLB, gesteuert über eine Zeit von 0 bis 1: der Ersatz für die Unity-Timeline. In Unity animierst du wie gewohnt (ein Clip mit vielen Spuren, auch ein Leerobjekt als Kamerawagen); hier setzen Schieber (TimelineSlider), Mausrad und Wischen (ScrollControl), die Seite (PageScroll) oder Knöpfe die Zeit. CameraPath lässt die Kamera mitfahren.A timeline over animation clips of the GLB, driven by a time from 0 to 1: the replacement for the Unity timeline. In Unity you animate as usual (one clip with many tracks, also an empty as camera dolly); here a slider (TimelineSlider), mouse wheel and swipe (ScrollControl), the page (PageScroll) or buttons set the time. CameraPath lets the camera ride along.
Nicht zusammen mit Animation auf denselben Clip legen (zwei Mixer kämpfen). Von außen: mabino.call("Objekt", "Timeline", "seek", 0.5). Methoden: seek, setTime, step, play, pause, stop, toStart, toEnd.Do not combine with Animation on the same clip (two mixers fight). From outside: mabino.call("Object", "Timeline", "seek", 0.5). Methods: seek, setTime, step, play, pause, stop, toStart, toEnd.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Wurzel, unter der die Clips ihre Objekte suchen. Leer: die ganze Szene (die Zeitachse darf auf einem Leerobjekt liegen).Root under which the clips look up their objects. Empty: the whole scene (the timeline may sit on an empty object). |
clip | clip | Der Clip. Leer: alle Clips der GLB zusammen (0 bis 1 ist dann der längste; Clips auf demselben Objekt mischen sich).The clip. Empty: all clips of the GLB together (0 to 1 is then the longest; clips on the same object mix). |
smoothing | number = 4 | Glättung von seek(): je Sekunde wird so oft der Restweg aufgeholt (4 = flott, 1 = träge). 0 = springen.Smoothing of seek(): per second the remaining way is caught up this many times (4 = brisk, 1 = sluggish). 0 = jump. |
startTime | number = 0 | Zeit zum Start, 0 bis 1.Time at start, 0 to 1. |
autoplay | boolean = false | Von selbst ablaufen lassen, wie eine Animation.Run by itself, like an animation. |
speed | number = 1 | Geschwindigkeit beim Ablaufen, 1 = Echtzeit des Clips, negativ = rückwärts.Speed when running, 1 = real time of the clip, negative = backwards. |
loop | boolean = false | Beim Ablaufen am Ende von vorn beginnen.When running, start over at the end. |
onStart | event | Wenn die Zeit den Anfang (0) erreicht.When the time reaches the start (0). |
onEnd | event | Wenn die Zeit das Ende (1) erreicht, z.B. Knopf einblenden.When the time reaches the end (1), e.g. show a button. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
seek() | Weich zur Zeit fahren (Zahl 0 bis 1).Move smoothly to the time (number 0 to 1). |
setTime() | Sofort zur Zeit springen (Zahl 0 bis 1).Jump to the time immediately (number 0 to 1). |
step() | Um einen Anteil weiter (Zahl, z.B. 0.1; negativ zurück).Move by a fraction (number, e.g. 0.1; negative back). |
play() | Von selbst ablaufen lassen.Run by itself. |
pause() | Anhalten.Pause. |
stop() | Anhalten und zum Anfang.Stop and go to the start. |
toStart() | Weich zum Anfang.Smoothly to the start. |
toEnd() | Weich zum Ende.Smoothly to the end. |
Ein Schieber für die Zeitachse: der eigene der App (unten über der Leiste) oder ein vorhandener Schieber der Seite per CSS-Selektor. Ziehen fährt die Zeit, Mausrad oder Autoplay bewegen den Schieber mit.A slider for the timeline: the app's own (at the bottom above the bar) or an existing slider of the page via CSS selector. Dragging moves the time, mouse wheel or autoplay move the slider along.
Der eigene Schieber erscheint nicht in VR. Ein Schieber der Seite bekommt min 0 und max 1000 gesetzt.The app's own slider does not appear in VR. A slider of the page gets min 0 and max 1000 set.
ErgänztExtends Timeline
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
timeline | component<Timeline> advanced | Die Zeitachse. Leer: eine am eigenen Objekt, sonst die erste der Szene.The timeline. Empty: one on this object, otherwise the first in the scene. |
selector | string = "" | CSS-Selektor eines <input type="range"> der Seite. Leer: eigener Schieber in der App.CSS selector of an <input type="range"> on the page. Empty: the app's own slider. |
label | string = "Timeline" | Beschriftung für Vorlesen und Tooltip.Label for screen readers and tooltip. |
smooth | boolean = true | Weich fahren statt springen.Move smoothly instead of jumping. |
Bewegt, dreht oder skaliert ein Objekt zwischen zwei Werten, ohne Animationsclip: schweben, pulsieren, pendeln, eine Tür öffnen, eine Schublade herausfahren. Für alle im Raum an derselben Stelle.Moves, rotates or scales an object between two values, without an animation clip: float, pulse, swing, open a door, slide out a drawer. At the same point for everyone in the room.
Schweben: position, to 0 | 0,2 | 0, pingpong. Pulsieren: scale, from 1 | 1 | 1, to 1,1 | 1,1 | 1,1. Tür: rotation, to 0 | 90 | 0, once, autoplay aus, tapAction toggle. Mehrere Tweens an einem Objekt gehen, je einer für Position, Drehung und Größe; eine EventList erreicht den ersten, weitere liegen besser auf einem leeren Objekt mit target. Nicht zusammen mit SharedTransform oder einem dynamischen Rigidbody am selben Objekt.Float: position, to 0 | 0.2 | 0, pingpong. Pulse: scale, from 1 | 1 | 1, to 1.1 | 1.1 | 1.1. Door: rotation, to 0 | 90 | 0, once, autoplay off, tapAction toggle. Several tweens on one object work, one each for position, rotation and scale; an EventList reaches the first one, further ones are better placed on an empty object with a target. Do not combine with SharedTransform or a dynamic Rigidbody on the same object.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das sich bewegt. Leer: das eigene Objekt.The object that moves. Empty: this object. |
property | enum(position | rotation | scale) = "position" | Was sich ändert: position (Meter), rotation (Grad) oder scale (Größe).What changes: position (meters), rotation (degrees) or scale (size). |
from | vec3 = [0,0,0] | Anfangswert. Mit relative der Abstand zur Lage in der Szene: Position in Metern dazu, Drehung in Grad dazu, Größe als Faktor (1 = unverändert).Start value. With relative the offset from the pose in the scene: position in meters on top, rotation in degrees on top, scale as a factor (1 = unchanged). |
to | vec3 = [0,0.2,0] | Endwert, in denselben Einheiten wie from.End value, in the same units as from. |
relative | boolean = true | from und to sind Abstände zur Lage, die das Objekt in der Szene hat. Aus: die lokalen Werte selbst, wie im Transform.from and to are offsets from the pose the object has in the scene. Off: the local values themselves, as in the Transform. |
fromCurrent | boolean = false advanced | Beim Start an der Lage beginnen, die das Objekt gerade hat; from zählt dann nicht.Begin at the pose the object has at the start; from is ignored then. |
duration | number = 1.5 | Dauer eines Durchlaufs in Sekunden.Duration of one pass in seconds. |
delay | number = 0 advanced | Wartezeit vor dem Beginn in Sekunden.Waiting time before it begins, in seconds. |
loop | enum(pingpong | repeat | once) = "pingpong" | pingpong: hin und zurück ohne Ende, repeat: immer wieder von vorn, once: ein Durchlauf, dann bleibt das Objekt stehen.pingpong: back and forth without end, repeat: again and again from the start, once: one pass, then the object stays. |
easing | enum(linear | sine | quad | cubic | quart | quint | expo | circ | back | elastic | bounce) = "sine" | Verlauf der Bewegung: linear = gleichmäßig, sine bis expo = zunehmend weicher Anlauf, back = holt aus, elastic = federt, bounce = prallt ab.Shape of the motion: linear = even, sine to expo = increasingly soft start, back = pulls back first, elastic = springs, bounce = bounces. |
easeAt | enum(both | start | end) = "both" | Wo die Bewegung weich wird: both = an beiden Enden, start = nur beim Anlaufen, end = nur beim Ankommen.Where the motion gets soft: both = at both ends, start = only when starting, end = only when arriving. |
shortestPath | boolean = true advanced | Drehung auf dem kürzesten Weg. Aus: jeder Winkel läuft einzeln, auch mehr als eine Umdrehung (0 → 720).Rotate along the shortest path. Off: each angle runs on its own, also more than one turn (0 → 720). |
autoplay | boolean = true | Beim Start loslaufen. Aus: Das Objekt bleibt unberührt, bis eine Aktion den Tween startet.Run on start. Off: the object stays untouched until an action starts the tween. |
tapAction | enum(none | restart | toggle) = "none" | Was ein Tipp auf das Objekt auslöst: none = nichts, restart = von vorn, toggle = vorwärts und beim nächsten Tipp zurück.What a tap on the object does: none = nothing, restart = from the beginning, toggle = forward and back again on the next tap. |
sync | boolean = true | Alle im Raum sehen dieselbe Stelle, auch wer später kommt.Everyone in the room sees the same point, also whoever joins later. |
onComplete | event | Wenn ein einzelner Durchlauf (once) am Ende ankommt.When a single pass (once) arrives at the end. |
onReturned | event advanced | Wenn ein einzelner Durchlauf rückwärts wieder am Anfang ankommt.When a single pass arrives back at the beginning in reverse. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Läuft von der jetzigen Stelle vorwärts (Tür auf).Runs forward from where it is (open the door). |
reverse() | Läuft von der jetzigen Stelle rückwärts zum Anfang (Tür zu).Runs backwards to the beginning from where it is (close the door). |
toggle() | Vorwärts, beim nächsten Mal rückwärts.Forward, the next time backwards. |
restart() | Beginnt von vorn, nach der Wartezeit.Begins from the start, after the delay. |
pause() | Hält an der jetzigen Stelle an.Stops at the current point. |
stop() | Beendet den Tween, das Objekt springt in seine Lage aus der Szene zurück.Ends the tween, the object jumps back to its pose from the scene. |
Audioguide für den Rundgang: spielt die Stationen (GuideStop) mit Ton und Untertiteln in einer oder zwei Sprachen und zeigt eine Leiste mit Titel, Untertitel und Knöpfen. Für Gruppenführungen im Raum geteilt.Audio guide for the tour: plays the stops (GuideStop) with sound and subtitles in one or two languages and shows a bar with title, subtitle and buttons. Shared in the room for group tours.
Einmal je Szene, z. B. am Objekt Exhibition. Stationen sind Objekte mit GuideStop; ihre Reihenfolge bestimmt order. Ein MenuButton mit AudioGuide.play startet den Rundgang.Once per scene, e.g. on the Exhibition object. Stops are objects with GuideStop; order sets their sequence. A MenuButton with AudioGuide.play starts the tour.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
language | number = 1 | Sprache beim Start: 1 oder 2.Language at start: 1 or 2. |
languageName | string = "DE" advanced | Kurzname der ersten Sprache für den Knopf (z. B. DE).Short name of the first language for the button (e.g. DE). |
languageName2 | string = "EN" advanced | Kurzname der zweiten Sprache (z. B. EN oder CS).Short name of the second language (e.g. EN or CS). |
showPanel | boolean = true | Leiste mit Titel, Untertitel und Knöpfen zeigen.Show the bar with title, subtitle and buttons. |
showSubtitles | boolean = true | Untertitel zeigen (für Gehörlose, laute Räume, ohne Kopfhörer).Show subtitles (for deaf visitors, loud rooms, without headphones). |
autoAdvance | boolean = false | Nach dem Ende einer Station gleich die nächste.Go straight to the next stop when one ends. |
sync | boolean = true | Alle im Raum hören dieselbe Station an derselben Stelle (Gruppenführung).Everyone in the room hears the same stop at the same position (group tour). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Station starten (Zahl: order; ohne Zahl die erste).Start a stop (number: order; without a number the first). |
pause() | Anhalten.Pause. |
resume() | Weiterspielen.Resume. |
toggle() | Pause oder weiter.Pause or resume. |
next() | Nächste Station.Next stop. |
previous() | Vorige Station.Previous stop. |
stop() | Beenden und Leiste schließen.Stop and close the bar. |
setLanguage() | Sprache 1 oder 2 (Zahl); eine laufende Station spielt an derselben Stelle weiter.Language 1 or 2 (number); a running stop continues at the same position. |
toggleLanguage() | Sprache wechseln.Switch language. |
Spielt eine Audiodatei ab, wahlweise als Raumklang: je näher die Kamera, desto lauter.Plays an audio file, optionally as spatial sound: the closer the camera, the louder.
Methoden für Ereignisse: play, pause, stop, toggle, fadeIn, fadeOut, setVolume, setPitch. Klangfläche für einen Bereich: SpatialTrigger mit onEnter → fadeIn und onExit → fadeOut.Methods for events: play, pause, stop, toggle, fadeIn, fadeOut, setVolume, setPitch. Ambience for an area: SpatialTrigger with onEnter → fadeIn and onExit → fadeOut.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
clip | asset<audio> | Die Audiodatei (mp3, ogg, wav, m4a, aac oder opus).The audio file (mp3, ogg, wav, m4a, aac or opus). |
volume | number = 1 | Lautstärke (1 = volle Lautstärke).Volume (1 = full volume). |
loop | boolean = false | Endlos wiederholen.Repeat endlessly. |
autoplay | boolean = false | Beim Start abspielen. Browser starten Ton erst nach der ersten Berührung.Play on start. Browsers only start sound after the first touch. |
spatial | boolean = true | Raumklang: Lautstärke hängt vom Abstand zur Kamera ab.Spatial sound: volume depends on the distance to the camera. |
refDistance | number = 1 | Raumklang: bis zu diesem Abstand volle Lautstärke.Spatial: full volume up to this distance. |
maxDistance | number = 25 | Raumklang: ab diesem Abstand nicht mehr leiser.Spatial: no quieter beyond this distance. |
rolloff | number = 1 | Raumklang: wie schnell es mit dem Abstand leiser wird.Spatial: how quickly it gets quieter with distance. |
distanceModel | enum(inverse | linear | exponential) = "inverse" advanced | Raumklang: Abfallkurve. inverse: natürlich, wird mit dem Abstand immer langsamer leiser (wie Logarithmic in Unity). linear: bei maxDistance ganz still. exponential: fällt steiler ab.Spatial: falloff curve. inverse: natural, gets quieter ever more slowly with distance (like Logarithmic in Unity). linear: completely silent at maxDistance. exponential: drops more steeply. |
coneInner | number = 360 advanced | Raumklang: Richtwirkung. Volle Lautstärke innerhalb dieses Winkels um den blauen Pfeil (+Z); 360 = in alle Richtungen gleich.Spatial: directivity. Full volume within this angle around the blue arrow (+Z); 360 = the same in all directions. |
coneOuter | number = 360 advanced | Raumklang: außerhalb dieses Winkels nur noch coneOuterVolume (dazwischen gleitend), z. B. ein Lautsprecher, der nach vorn spielt.Spatial: outside this angle only coneOuterVolume (smooth in between), e.g. a speaker that plays forward. |
coneOuterVolume | number = 0.2 advanced | Raumklang: Lautstärke hinter der Quelle (0 bis 1).Spatial: volume behind the source (0 to 1). |
pitch | number = 1 advanced | Tonhöhe und Tempo: 1 = unverändert, 2 = eine Oktave höher und doppelt so schnell (wie Pitch in Unity).Pitch and speed: 1 = unchanged, 2 = one octave higher and twice as fast (like Pitch in Unity). |
fade | number = 0 advanced | Sekunden für weiches Ein- und Ausblenden bei play, pause, stop, fadeIn und fadeOut. 0 = sofort.Seconds for soft fading in and out on play, pause, stop, fadeIn and fadeOut. 0 = instant. |
occlusion | boolean = false advanced | Raumklang: Steht ein Objekt der Szene zwischen Besucher und Quelle (Wand, Säule), klingt sie dumpfer und leiser. Durchsichtiges zählt nicht.Spatial: if an object of the scene stands between visitor and source (wall, pillar), it sounds muffled and quieter. Transparent objects do not count. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Spielt den Ton von vorn.Plays the sound from the start. |
pause() | Hält den Ton an.Pauses the sound. |
stop() | Beendet den Ton.Stops the sound. |
toggle() | Ton an oder aus.Sound on or off. |
fadeIn() | Weich einblenden und weiterspielen, wo es stand (Sekunden aus fade, sonst 1,5).Fade in softly and continue where it stopped (seconds from fade, otherwise 1.5). |
fadeOut() | Weich ausblenden und anhalten.Fade out softly and pause. |
Eine Station des Audioguides: Ton und Untertitel zu einem Objekt, in einer oder zwei Sprachen. Startet durch Antippen, beim Näherkommen oder über den Audioguide.A stop of the audio guide: sound and subtitles for an object, in one or two languages. Starts by tapping, when coming close or through the audio guide.
Braucht einen AudioGuide in der Szene.Needs an AudioGuide in the scene.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
order | number = 1 | Reihenfolge im Rundgang (1, 2, 3 …).Order in the tour (1, 2, 3 …). |
title | string = "" | Titel in der Leiste.Title in the bar. |
title2 | string = "" advanced | Titel in der zweiten Sprache.Title in the second language. |
clip | asset<audio> | Die Audiodatei.The audio file. |
clip2 | asset<audio> advanced | Die Audiodatei in der zweiten Sprache.The audio file in the second language. |
subtitles | string = "" advanced | Untertitel: je Zeile eine Zeit und der Text, z. B. „0:05 Willkommen im Heizungsraum“ (Minuten:Sekunden). WebVTT geht auch.Subtitles: one time and the text per line, e.g. “0:05 Welcome to the boiler room” (minutes:seconds). WebVTT works too. |
subtitles2 | string = "" advanced | Untertitel in der zweiten Sprache.Subtitles in the second language. |
playOnTap | boolean = true | Antippen des Objekts startet die Station.Tapping the object starts the stop. |
nearDistance | number = 0 | Startet von selbst, wenn der Besucher näher als so viele Meter kommt (einmal je Besuch). 0 = aus.Starts by itself when the visitor comes closer than this many meters (once per visit). 0 = off. |
onStart | event | Aufrufe beim Start der Station (z. B. Licht an, Kamera fährt hin).Calls when the stop starts (e.g. light on, camera moves there). |
onEnd | event | Aufrufe am Ende der Station.Calls when the stop ends. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Diese Station abspielen.Play this stop. |
Ein Bild als Tafel im Raum: Schild, Foto, Plakat, Sprite. Die Höhe folgt dem Bild, auf Wunsch dreht es sich immer zum Betrachter.An image as a panel in space: sign, photo, poster, sprite. The height follows the image; optionally it always turns to the viewer.
Die Vorderseite zeigt zur Spitze des blauen Pfeils (facing negativeZ: umgedreht wie Sprites). Mit „Look: Unity“ am Mabino Scene übernimmt der Export Unitys Sprite Renderer von selbst.The front faces the tip of the blue arrow (facing negativeZ: turned around like sprites). With “Look: Unity” on the Mabino Scene the export takes Unity’s Sprite Renderer by itself.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
image | asset<image> | Das Bild (png, jpg oder webp; png mit Durchsichtigkeit geht).The image (png, jpg or webp; png with transparency works). |
width | number = 1 | Breite in Metern; die Höhe ergibt sich aus dem Seitenverhältnis.Width in meters; the height follows from the aspect ratio. |
billboard | enum(none | full | upright) = "none" | none: steht fest. full: dreht sich immer ganz zum Betrachter. upright: dreht sich nur um die Senkrechte und bleibt aufrecht (für Schilder).none: stays fixed. full: always turns fully to the viewer. upright: only turns around the vertical and stays upright (for signs). |
doubleSided | boolean = true | Auch von hinten sichtbar.Also visible from behind. |
lit | boolean = false advanced | Vom Licht der Szene beleuchtet. Aus: das Bild leuchtet selbst wie ein Bildschirm.Lit by the light of the scene. Off: the image glows by itself like a screen. |
opacity | number = 1 advanced | Deckkraft (0 bis 1).Opacity (0 to 1). |
tint | color = "#ffffff" advanced | Farbe, mit der das Bild getönt wird (weiß = unverändert).Color that tints the image (white = unchanged). |
facing | enum(positiveZ | negativeZ) = "positiveZ" advanced | positiveZ: Vorderseite zur Spitze des blauen Pfeils (die Standardkamera von Mabino sieht sie so). negativeZ: umgedreht, wie Sprites in Unity.positiveZ: front towards the tip of the blue arrow (Mabino’s standard camera sees it like that). negativeZ: turned around, like sprites in Unity. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setImage() | Anderes Bild (Text: Adresse).Another image (text: address). |
Raumhall in einem Bereich: Steht der Besucher darin, klingen alle Töne der Szene wie in diesem Raum (Kirche, Halle, Höhle, Wald …). Wie Audio Reverb Zone in Unity.Reverb in an area: while the visitor is inside, all sounds of the scene sound like in this room (church, hall, cave, forest …). Like Audio Reverb Zone in Unity.
Mehrere Zonen: die stärkste gilt, beim Wechsel blendet der Hall über. Der Hall wird berechnet, es gibt keine Dateien zu laden. Mit „Look: Unity“ am Mabino Scene übernimmt der Export Unitys Audio Reverb Zone von selbst.Several zones: the strongest applies, the reverb crossfades when it changes. The reverb is computed, there are no files to load. With “Look: Unity” on the Mabino Scene the export takes Unity’s Audio Reverb Zone by itself.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
preset | enum(room | livingRoom | bathroom | stoneRoom | hallway | stoneCorridor | auditorium | concertHall | church | cave | arena | hangar | forest | city | mountains | plain | underwater | custom) = "room" | Der Raum. custom: eigene Werte aus decayTime, damping und wet.The room. custom: own values from decayTime, damping and wet. |
minDistance | number = 10 | Innerhalb dieses Abstands in Metern um das Objekt voller Hall.Full reverb within this distance in meters around the object. |
maxDistance | number = 15 | Bis zu diesem Abstand blendet der Hall aus.The reverb fades out up to this distance. |
decayTime | number = 1.5 advanced | custom: Nachhallzeit in Sekunden (bis der Hall verklungen ist), höchstens 6.custom: reverb time in seconds (until the reverb has died away), at most 6. |
damping | number = 0.5 advanced | custom: 0 = hell wie Stein und Fliesen, 1 = dumpf wie Teppich oder Wald.custom: 0 = bright like stone and tiles, 1 = dull like carpet or forest. |
wet | number = 1 advanced | Anteil des Halls (0 bis 1); bei einem Raum aus der Liste ein Faktor auf dessen Anteil.Share of the reverb (0 to 1); for a room from the list a factor on its share. |
Startet bei Auswahl eine Audioquelle: immer von vorn oder als Wechsel zwischen Abspielen und Pause.Starts an audio source when selected: always from the start or as a play/pause switch.
ErgänztExtends AudioSource
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | component<AudioSource> advanced | Die Audioquelle. Leer: die AudioSource am eigenen Objekt.The audio source. Empty: the AudioSource on this object. |
mode | enum(play | toggle) = "play" | play: immer von vorn. toggle: pausiert beim nächsten Klick und setzt dann fort.play: always from the start. toggle: pauses on the next click, then resumes. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
run() | Spielt den Ton wie beim Antippen.Plays the sound as when tapped. |
Text im Raum: scharf in jeder Größe und Entfernung, auch in VR lesbar (dort sieht man keine Seitenelemente), mit Umlauten und einer zweiten Sprache.Text in space: sharp at any size and distance, readable in VR too (where page elements are not visible), with umlauts and a second language.
Der Text ist von der Spitze des blauen Pfeils aus lesbar. Mit „Look: Unity“ am Mabino Scene übernimmt der Export Unitys TextMeshPro (3D) von selbst: Text, Größe, Farbe, Ausrichtung, Rechteck, Fett, Umriss und die Schriftdatei des Font Assets. Zeichen, die keine der Schriften hat (z. B. Chinesisch, Emoji), lädt der Browser aus dem Netz nach.The text is readable from the tip of the blue arrow. With “Look: Unity” on the Mabino Scene the export takes Unity’s TextMeshPro (3D) by itself: text, size, color, alignment, box, bold, outline and the font file of the font asset. Characters none of the fonts has (e.g. Chinese, emoji) are loaded from the network by the browser.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
text | string = "Text" | Der Text. Zeilenumbruch mit Enter.The text. Line break with Enter. |
text2 | string = "" advanced | Derselbe Text in der zweiten Sprache (leer: wie text). Umschalten mit setLanguage(2) oder toggleLanguage.The same text in the second language (empty: like text). Switch with setLanguage(2) or toggleLanguage. |
fontSize | number = 0.1 | Schriftgröße in Metern (Höhe einer Zeile). 0,1 = gut lesbar aus 2 bis 3 m.Font size in meters (height of a line). 0.1 = readable from 2 to 3 m. |
color | color = "#ffffff" | Schriftfarbe.Text color. |
font | asset<font> advanced | Eigene Schrift (.ttf, .otf oder .woff aus dem Projekt). Leer: Roboto (mit Umlauten, Tschechisch, Griechisch, Kyrillisch).Own font (.ttf, .otf or .woff from the project). Empty: Roboto (with umlauts, Czech, Greek, Cyrillic). |
bold | boolean = false | Fett (bei Roboto; eine eigene Schrift bringt ihren Schnitt selbst mit).Bold (with Roboto; an own font brings its own weight). |
align | enum(left | center | right | justify) = "center" | Ausrichtung der Zeilen: links, Mitte, rechts, Blocksatz.Alignment of the lines: left, center, right, justified. |
anchorX | enum(left | center | right) = "center" advanced | Ohne Rechteck: welcher Punkt des Texts am Objekt liegt (waagerecht).Without a box: which point of the text sits at the object (horizontally). |
anchorY | enum(top | middle | bottom) = "middle" advanced | Ohne Rechteck: welcher Punkt des Texts am Objekt liegt (senkrecht).Without a box: which point of the text sits at the object (vertically). |
maxWidth | number = 0 | Breite in Metern, ab der umgebrochen wird. 0 = kein Umbruch.Width in meters at which lines wrap. 0 = no wrapping. |
boxWidth | number = 0 advanced | Rechteck wie bei TextMeshPro: Breite in Metern, der Text steht darin nach align. 0 = kein Rechteck.Box like TextMeshPro: width in meters, the text sits in it according to align. 0 = no box. |
boxHeight | number = 0 advanced | Rechteck: Höhe in Metern.Box: height in meters. |
verticalAlign | enum(top | middle | bottom) = "middle" advanced | Rechteck: Text oben, in der Mitte oder unten.Box: text at the top, in the middle or at the bottom. |
lineHeight | number = 1.2 advanced | Zeilenabstand als Vielfaches der Schriftgröße.Line spacing as a multiple of the font size. |
outline | number = 0 advanced | Umriss als Anteil der Schriftgröße (0 = keiner, 0,05 = schmal): lesbar auf unruhigem Hintergrund, in AR.Outline as a share of the font size (0 = none, 0.05 = thin): readable on busy backgrounds, in AR. |
outlineColor | color = "#000000" advanced | Farbe des Umrisses.Outline color. |
opacity | number = 1 advanced | Deckkraft (0 bis 1).Opacity (0 to 1). |
billboard | enum(none | full | upright) = "none" | none: steht fest. full: immer zum Betrachter. upright: dreht sich nur um die Senkrechte (für Schilder).none: fixed. full: always faces the viewer. upright: only turns around the vertical (for signs). |
doubleSided | boolean = false advanced | Auch von hinten zu sehen (dann spiegelverkehrt).Also visible from behind (then mirrored). |
facing | enum(positiveZ | negativeZ) = "positiveZ" advanced | positiveZ: lesbar von der Spitze des blauen Pfeils aus (die Standardkamera von Mabino sieht ihn so). negativeZ: umgedreht, wie TextMeshPro in Unity.positiveZ: readable from the tip of the blue arrow (Mabino’s standard camera sees it like that). negativeZ: turned around, like TextMeshPro in Unity. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setText() | Neuer Text (in der aktuellen Sprache).New text (in the current language). |
setLanguage() | Sprache 1 oder 2 (Zahl).Language 1 or 2 (number). |
toggleLanguage() | Zwischen den beiden Sprachen wechseln.Switch between the two languages. |
setColor() | Neue Schriftfarbe (Text: #rrggbb).New text color (text: #rrggbb). |
Spielt ein Video auf einer Fläche ab, zum Beispiel einem Bildschirm oder einer Tafel. Ohne Mesh legt die Komponente eine Fläche an.Plays a video on a surface such as a screen or a board. Without a mesh the component creates a surface.
Trägt das Objekt ein Mesh, braucht es passende UV-Koordinaten, sonst ist das Bild verzerrt.If the object has a mesh it needs proper UV coordinates, otherwise the picture is distorted.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
clip | asset<video> | Die Videodatei (mp4, webm oder m4v).The video file (mp4, webm or m4v). |
target | node | Objekt, dessen Meshes das Video zeigen. Leer: das eigene Objekt.Object whose meshes show the video. Empty: this object. |
autoplay | boolean = false | Beim Start abspielen. Mit Ton erst nach der ersten Berührung, stumm sofort.Play on start. With sound only after the first touch, muted immediately. |
loop | boolean = false | Endlos wiederholen.Repeat endlessly. |
muted | boolean = false | Stumm abspielen. Nötig für Autostart ohne Berührung.Play muted. Needed for autostart without a touch. |
volume | number = 1 | Lautstärke (1 = volle Lautstärke).Volume (1 = full volume). |
width | number = 1.6 | Breite der angelegten Fläche in Szenen-Einheiten (nur ohne Mesh).Width of the created surface in scene units (only without a mesh). |
clickToToggle | boolean = false | Auswahl wechselt zwischen Abspielen und Pause.Selection switches between play and pause. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Spielt das Video von vorn.Plays the video from the start. |
pause() | Hält das Video an.Pauses the video. |
stop() | Beendet das Video.Stops the video. |
toggle() | Video an oder aus.Video on or off. |
Zeigt das Livebild einer Kamera auf einer Fläche, zum Beispiel als Spiegel oder Videowand. Nichts wird gespeichert. Im gemeinsamen Raum (SharedRoom) sehen alle das Bild dessen, der die Kamera einschaltet.Shows the live image of a camera on a surface, for example as a mirror or video wall. Nothing is stored. In a shared room (SharedRoom) everyone sees the image of whoever switches the camera on.
Die Kamera wird beim Ausblenden freigegeben. Auf dem iPhone ist Webcam gleichzeitig mit AR nicht sicher möglich. Das geteilte Bild geht direkt von Gerät zu Gerät (WebRTC), nicht über den Server; ohne STUN/TURN-Server in SharedRoom nur im selben WLAN.The camera is released when the object is hidden. On iPhone, webcam together with AR is not reliably possible. The shared image goes directly from device to device (WebRTC), not through the server; without a STUN/TURN server in SharedRoom only within the same Wi-Fi.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, dessen Meshes das Bild zeigen. Leer: das eigene Objekt.Object whose meshes show the image. Empty: this object. |
facing | enum(user | environment) = "user" | user: Frontkamera, environment: Rückkamera.user: front camera, environment: rear camera. |
mirror | boolean = true | Frontkamera spiegelverkehrt zeigen, wie ein Spiegel. Die Rückkamera wird nie gespiegelt.Mirror the front camera like a mirror. The rear camera is never mirrored. |
autoplay | boolean = false | Kamera schon beim Laden öffnen. Der Browser fragt dann sofort nach der Erlaubnis.Open the camera on load. The browser then asks for permission right away. |
width | number = 1.6 | Breite der angelegten Fläche in Szenen-Einheiten (nur ohne Mesh).Width of the created surface in scene units (only without a mesh). |
clickToToggle | boolean = true | Auswahl schaltet die Kamera ein und aus.Selection switches the camera on and off. |
shareInRoom | boolean = true | Im gemeinsamen Raum das Bild mit allen teilen: Wer die Kamera einschaltet, ist auf diesem Bildschirm für alle zu sehen (ungespiegelt). Solange einer teilt, ist der Bildschirm für die anderen belegt. Aus: das Bild bleibt auf dem eigenen Gerät.In a shared room, share the image with everyone: whoever switches the camera on is seen by all on this screen (not mirrored). While someone shares, the screen is taken for the others. Off: the image stays on this device. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Öffnet die Kamera.Opens the camera. |
stop() | Schließt die Kamera.Closes the camera. |
toggle() | Kamera an oder aus.Camera on or off. |
DarstellungRendering
Hintergrund der Kamera: Himmel, eine Farbe oder ein Verlauf, mit einem Schalter umzustellen. Stellt in Unity die Kamera mit um.Background of the camera: sky, a color or a gradient, switched with one setting. Also sets the camera in Unity.
Am einfachsten in der Schaltzentrale (Objekt Mabino, Abschnitt Scene, Zeile Background): drei Knöpfe Skybox, Color, Gradient. Unity zeigt einen Verlauf als Farbe außen bzw. unten; im Browser ist er zu sehen. In AR ist der Hintergrund immer das Kamerabild, in VR ist ein Verlauf einfarbig.Easiest in the control center (object Mabino, section Scene, row Background): three buttons Skybox, Color, Gradient. Unity shows a gradient as the color at the edge or bottom; the browser shows it. In AR the background is always the camera image, in VR a gradient is solid.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
mode | enum(skybox | color | gradient) = "color" | skybox: der Himmel (Bild unten oder der Himmel der Szene aus dem Lighting-Fenster). color: eine Farbe. gradient: Verlauf aus zwei Farben, als Fleck in der Mitte oder von oben nach unten.skybox: the sky (image below or the sky of the scene from the Lighting window). color: one color. gradient: two colors blending, as a spot in the middle or from top to bottom. |
color | color = "#1a1d22" | Die Farbe; beim Verlauf die Farbe außen bzw. unten.The color; for a gradient the color at the edge or at the bottom. |
gradientColor | color = "#585b5e" | Verlauf: die zweite Farbe, in der Mitte (radial) bzw. oben (vertical).Gradient: the second color, in the middle (radial) or at the top (vertical). |
gradient | enum(radial | vertical) = "radial" | Verlauf: radial = heller Fleck hinter der Szene wie im Fotostudio, vertical = von oben nach unten wie ein Himmel.Gradient: radial = a bright spot behind the scene like in a photo studio, vertical = from top to bottom like a sky. |
gradientSize | number = 1.15 advanced | Radialer Verlauf: Größe des Flecks im Verhältnis zur Bildhöhe (0,2 bis 2).Radial gradient: size of the spot relative to the picture height (0.2 to 2). |
skybox | asset<image> | Himmel: Bild im Kugelformat (equirektangular, .hdr, jpg oder png). Leer = der Himmel der Szene (Lighting-Fenster, braucht „Look: Unity“ am Mabino Scene).Sky: image in spherical format (equirectangular, .hdr, jpg or png). Empty = the sky of the scene (Lighting window, needs “Look: Unity” on the Mabino Scene). |
sync | boolean = true advanced | Umschalten zur Laufzeit gilt für alle im gemeinsamen Raum, auch für später Hinzukommende.Switching at runtime applies to everyone in the shared room, also to those who join later. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setMode() | Art wählen: "skybox", "color" oder "gradient".Choose the kind: "skybox", "color" or "gradient". |
next() | Zur nächsten Art: Himmel, Farbe, Verlauf.Go to the next kind: sky, color, gradient. |
useSkybox() | Himmel zeigen.Show the sky. |
useColor() | Farbe zeigen.Show the color. |
useGradient() | Verlauf zeigen.Show the gradient. |
setColor() | Farbe setzen, z.B. "#1a1d22" (beim Verlauf die Farbe außen bzw. unten).Set the color, e.g. "#1a1d22" (for a gradient the color at the edge or bottom). |
Weiche Kontaktschatten unter Objekten, ganz ohne Licht: je näher ein Objekt dem Boden, desto dunkler. Wie in Produktfotos; hält Objekte auch in AR sichtbar auf dem Boden.Soft contact shadows under objects, without any light: the closer an object is to the ground, the darker. Like in product photos; keeps objects visibly on the ground in AR too.
Braucht kein Licht und keinen Schattenwurf der Meshes. Ein sichtbarer Boden genau in Höhe der Fläche zählt nicht mit. Nach Änderungen in einer unbewegten Szene (frameRate 0) die Aktion refresh aufrufen.Needs no light and no shadow casting of the meshes. A visible floor exactly at the height of the area does not count. After changes in a still scene (frameRate 0) call the refresh action.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
size | number = 4 | Kantenlänge der Schattenfläche in Metern (liegt waagerecht im Objekt bei y = 0).Edge length of the shadow area in meters (lies horizontally in the object at y = 0). |
height | number = 1 | Bis zu dieser Höhe über der Fläche werfen Objekte Schatten (Meter). Klein = nur was den Boden fast berührt.Objects up to this height above the area cast shadows (meters). Small = only what almost touches the ground. |
opacity | number = 0.6 | Wie dunkel der Schatten höchstens wird (0 bis 1).How dark the shadow gets at most (0 to 1). |
blur | number = 2.5 | Weichheit des Schattens.Softness of the shadow. |
resolution | number = 512 advanced | Auflösung des Schattenbilds in Pixeln (128 bis 1024). Kleiner ist schneller.Resolution of the shadow image in pixels (128 to 1024). Smaller is faster. |
frameRate | number = 30 advanced | Neu berechnen höchstens so oft je Sekunde. 0 = nur einmal: für unbewegte Szenen, spart Rechenzeit und Akku.Recompute at most this often per second. 0 = only once: for still scenes, saves computing time and battery. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
refresh() | Schatten beim nächsten Bild neu berechnen.Recompute the shadow in the next frame. |
Projiziert ein Bild (Schild, Beschriftung, Logo, Schmutzfleck) auf die Oberfläche eines Meshes, wie ein Aufkleber oder Diaprojektor. Das Objekt mit der Komponente ist der Projektor: Lage und Drehung bestimmen, wohin projiziert wird, die Größe den Kasten, in dem Flächen das Bild bekommen. Das Decal wandert mit dem Ziel.Projects an image (sign, caption, logo, stain) onto the surface of a mesh, like a sticker or slide projector. The object with the component is the projector: position and rotation decide where it projects, the size the box in which surfaces get the image. The decal moves with the target.
Der Projektionskasten muss die Fläche berühren: Objekt auf die Oberfläche setzen und die Tiefe (size.z) groß genug wählen. Trifft er nichts, meldet die Komponente das in der Konsole. Das Zuschneiden geschieht einmal beim Einschalten; nach dem Verschieben des Projektors rebuild aufrufen. Meshes mit Skelett werden nicht beklebt.The projection box must touch the surface: put the object on the surface and choose the depth (size.z) large enough. If it hits nothing the component says so in the console. The cutting happens once when switched on; after moving the projector call rebuild. Skinned meshes are not decorated.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, auf dessen Meshes projiziert wird. Leer: das Elternobjekt dieses Objekts.Object whose meshes are projected on. Empty: the parent of this object. |
texture | asset<image> | Das Bild, am besten PNG mit Alpha.The image, best a PNG with alpha. |
size | vec3 = [0.5,0.5,0.3] | Größe des Projektionskastens: Breite, Höhe, Tiefe in Metern. Breite zu Höhe passend zum Bild wählen.Size of the projection box: width, height, depth in meters. Choose width to height to match the image. |
transparent | boolean = true | Bild mit Alpha: durchsichtige Stellen zeigen den Untergrund.Image with alpha: transparent areas show the surface below. |
alphaCutoff | number = 0.05 | Pixel mit weniger Alpha als dieser Wert werden verworfen (0 bis 1).Pixels with less alpha than this value are discarded (0 to 1). |
tint | color = "#ffffff" | Farbe, mit dem Bild multipliziert. Weiß = Originalfarbe.Color multiplied with the image. White = original color. |
glow | number = 0 | Eigenleuchten, 0 = nur beleuchtet.Glow, 0 = lit only. |
flipU | boolean = false | Bild waagerecht spiegeln (bei gespiegelter Schrift).Flip the image horizontally (for mirrored text). |
flipV | boolean = false | Bild senkrecht spiegeln.Flip the image vertically. |
slicing | component<SlicingPlane> | Mit dieser SlicingPlane mitschneiden.Cut along with this SlicingPlane. |
renderOrder | number = 2 | Zeichenreihenfolge, höher liegt oben bei mehreren Decals.Draw order, higher is on top with several decals. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
rebuild() | Neu zuschneiden (nach dem Verschieben des Projektors).Cut again (after moving the projector). |
setTexture() | Anderes Bild laden (Adresse als Text).Load another image (address as text). |
toggle() | Decal ein- oder ausblenden.Show or hide the decal. |
Legt Hintergrund, Nebel und Umgebungslicht der Szene fest. Gedacht für ein Objekt pro Szene.Defines the background, fog and ambient lighting of the scene. Intended for one object per scene.
In AR bleibt der Hintergrund durchsichtig (Kamerabild) und es gibt keinen Nebel. Das Umgebungslicht wirkt dort trotzdem. Himmel, Umgebungslicht und Nebel aus Unity (Lighting-Fenster) kommen mit „Look: Unity“ am Mabino Scene von selbst mit; Environment brauchst du nur, um davon abzuweichen.In AR the background stays transparent (camera image) and there is no fog. The ambient lighting still applies. Sky, ambient light and fog from Unity (Lighting window) come along by themselves with “Look: Unity” on the Mabino Scene; you only need Environment to deviate from them.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
background | enum(camera | color | skybox) = "camera" | camera (empfohlen): der Hintergrund der Kamera, eingestellt mit der Komponente Background an der Kamera (Himmel, Farbe, Verlauf), sonst wie die Unity-Kamera. color: eigene Farbe hier, skybox: Bild im Kugelformat; beide liegen über der Kamera.camera (recommended): the background of the camera, set with the Background component on the camera (sky, color, gradient), otherwise like the Unity camera. color: a color of its own here, skybox: spherical image; both override the camera. |
color | color = "#1a1d22" | Hintergrundfarbe bei color.Background color for color. |
skybox | asset<image> | Bild im Kugelformat (equirektangular: .hdr, jpg oder png). .hdr hat den Kontrast für Licht und Spiegelungen.Image in spherical format (equirectangular: .hdr, jpg or png). .hdr has the contrast needed for lighting and reflections. |
environmentLighting | boolean = false | Die Skybox beleuchtet und spiegelt sich in den Materialien, auch in AR. Ohne Skybox gilt eine neutrale Studio-Umgebung (nötig für Metall und Glas).The skybox lights and reflects in the materials, also in AR. Without a skybox a neutral studio environment is used (needed for metal and glass). |
fog | boolean = false | Nebel einschalten.Enable fog. |
fogColor | color = "#1a1d22" | Nebelfarbe, meist wie der Hintergrund.Fog color, usually the same as the background. |
fogMode | enum(linear | exponential | exponentialSquared) = "linear" | linear: Nebel zwischen fogNear und fogFar. exponential und exponentialSquared: wird mit dem Abstand dichter, Stärke über fogDensity (wie in Unity).linear: fog between fogNear and fogFar. exponential and exponentialSquared: gets denser with distance, strength from fogDensity (as in Unity). |
fogDensity | number = 0.02 | Dichte des Nebels je Meter bei exponential und exponentialSquared. 0,02 = nach rund 40 m ist die Hälfte verschwunden.Fog density per meter for exponential and exponentialSquared. 0.02 = half is gone after about 40 m. |
fogNear | number = 8 | Bis zu diesem Abstand kein Nebel.No fog up to this distance. |
fogFar | number = 40 | Ab diesem Abstand ist alles im Nebel verschwunden.Everything is lost in fog beyond this distance. |
groundProjection | boolean = false advanced | Nur mit background skybox: Der untere Teil des Panoramas wird zum Boden, auf dem die Objekte stehen, statt dass sie vor einem Foto schweben. Gut für Panoramen von Orten (Platz, Halle, Landschaft).Only with background skybox: the lower part of the panorama becomes the ground the objects stand on, instead of floating in front of a photo. Good for panoramas of places (square, hall, landscape). |
groundHeight | number = 1.5 advanced | Bodenprojektion: Höhe der Kamera, mit der das Panorama aufgenommen wurde, in Metern (meist 1,5 bis 2).Ground projection: height of the camera that took the panorama, in meters (usually 1.5 to 2). |
groundRadius | number = 40 advanced | Bodenprojektion: wie weit der Boden reicht, in Metern. Größer als die Szene wählen.Ground projection: how far the ground reaches, in meters. Choose larger than the scene. |
Behebt flackernde Flächen (Z-Fighting), wo zwei Flächen fast an derselben Stelle liegen, etwa ein Aufkleber auf einer Wand: Das Objekt wird beim Zeichnen ein Stück nach vorn oder hinten gerückt. Auf das Objekt legen, das oben liegen soll.Fixes flickering surfaces (z-fighting) where two surfaces lie almost in the same place, such as a sticker on a wall: the object is shifted slightly forward or backward when drawn. Put it on the object that should be on top.
Typisch sind -1 bis -3. Die Materialien werden kopiert, damit andere Objekte mit demselben Material nicht mitverschoben werden.Typical values are -1 to -3. The materials are copied so other objects sharing the same material are not shifted.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, dessen Meshes verschoben werden. Leer: das eigene Objekt.Object whose meshes are shifted. Empty: this object. |
factor | number = -1 | Faktor (Neigung der Fläche), negativ = nach vorn.Factor (slope of the surface), negative = forward. |
units | number = -1 | Einheiten (kleinste Tiefenstufe), negativ = nach vorn.Units (smallest depth step), negative = forward. |
includeChildren | boolean = true | Auch die Kinder des Objekts.Also the children of the object. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
apply() | Werte anwenden.Apply the values. |
setFactor() | Faktor setzen (Zahl).Set the factor (number). |
setUnits() | Einheiten setzen (Zahl).Set the units (number). |
Gaussian Splat: ein Raum oder Objekt aus Fotos (3D Gaussian Splatting) in den Formaten PLY, SPZ, SPLAT, KSPLAT oder SOG. Wirkt fotoecht, auch Glanz und feine Strukturen; Splats und Modelle der Szene verdecken sich richtig.Gaussian splat: a room or object from photos (3D Gaussian Splatting) in the formats PLY, SPZ, SPLAT, KSPLAT or SOG. Looks photoreal including shine and fine structures; splats and models of the scene hide each other correctly.
Gezeichnet mit Spark (World Labs, MIT), das erst mit dem ersten Splat geladen wird (rund 2,8 MB). Große Splats (über 1 Million) sind für Handys schwer; dort SPZ und colorDetail 0 oder 1 nehmen.Drawn with Spark (World Labs, MIT), which is loaded only with the first splat (about 2.8 MB). Large splats (over 1 million) are heavy for phones; use SPZ and colorDetail 0 or 1 there.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
file | asset<scan> | Die Datei des Splats. SPZ ist am kleinsten (rund ein Zehntel von PLY).The splat file. SPZ is the smallest (about a tenth of PLY). |
turnOver | boolean = true | Splats aus dem Training stehen meist auf dem Kopf (Kamera-Achsen mit y nach unten). An = umdrehen.Splats from training are usually upside down (camera axes with y down). On = turn them over. |
colorDetail | number = 3 advanced | Glanz je Blickrichtung: 0 = nur Farbe (schnell, für Handys), 3 = voll.Shine per viewing direction: 0 = color only (fast, for phones), 3 = full. |
opacity | number = 1 advanced | Deckkraft 0 bis 1.Opacity 0 to 1. |
onLoaded | event | Wenn der Splat geladen ist.When the splat is loaded. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setOpacity() | Deckkraft setzen (0 bis 1), z.B. zum Überblenden zwischen Scan und Modell.Set the opacity (0 to 1), e.g. to blend between scan and model. |
Macht die Meshes unter einem Objekt zu Glas: fast durchsichtig, helle Kanten, Spiegelungen der Umgebung. Standard ist ein schnelles Glas ohne Zusatzaufwand (läuft auch in AR und VR); „physical“ schaltet echtes Glas mit Lichtbrechung ein, das viel Leistung kostet.Turns the meshes under an object into glass: nearly transparent, bright edges, reflections of the environment. The default is a fast glass with no extra cost (also runs in AR and VR); "physical" switches to real glass with refraction, which costs a lot of performance.
Spiegelungen brauchen eine Umgebung: Environment mit environmentLighting einschalten. Zwei Material-Komponenten auf denselben Meshes überschreiben sich; ausgeschaltet kehrt das Mesh zu seinem ursprünglichen Material zurück.Reflections need an environment: switch on environmentLighting in Environment. Two material components on the same meshes override each other; when switched off the mesh returns to its original material.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, dessen Meshes zu Glas werden. Leer: das eigene Objekt samt Kindern.Object whose meshes become glass. Empty: this object with its children. |
tint | color = "#d1e8ff" | Färbung des Glases.Tint of the glass. |
opacity | number = 0.1 | Grundtransparenz: 0 = unsichtbar, 1 = deckend. Die Kanten sind immer sichtbar.Base opacity: 0 = invisible, 1 = solid. The edges are always visible. |
roughness | number = 0.04 | Rauheit der Oberfläche, 0 = Spiegel.Roughness of the surface, 0 = mirror. |
envIntensity | number = 1.8 | Stärke der Umgebungsspiegelung.Strength of the environment reflection. |
fresnelPower | number = 4 | Schärfe der hellen Kante: höher = dünnere Linie.Sharpness of the bright edge: higher = thinner line. |
fresnelBrightness | number = 0.65 | Helligkeit der Kante.Brightness of the edge. |
doubleSided | boolean = false | Beide Seiten zeichnen (für dünne Gläser, kostet doppelt).Draw both sides (for thin glass, costs double). |
physical | boolean = false | Echtes Glas mit Lichtbrechung. Teuer, nicht für schwache Handys.Real glass with refraction. Expensive, not for weak phones. |
transmission | number = 0.92 | Durchlässigkeit bei physical, 0 bis 1.Transmission with physical, 0 to 1. |
thickness | number = 0.3 | Dicke für die Brechung bei physical.Thickness for the refraction with physical. |
ior | number = 1.5 | Brechungsindex bei physical, 1.5 = normales Glas.Index of refraction with physical, 1.5 = normal glass. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
toggle() | Zwischen Glas und Original umschalten.Switch between glass and original. |
apply() | Glas (neu) aufbauen.Build the glass (again). |
restore() | Original-Materialien zurück.Restore the original materials. |
setOpacity() | Grundtransparenz ändern (Zahl 0 bis 1).Change the base opacity (number 0 to 1). |
setTint() | Färbung ändern (Text, z.B. #ffd0d0).Change the tint (text, e.g. #ffd0d0). |
Lichtquelle mit Schatten. Ein vorhandenes Licht aus der GLB-Datei wird nur eingestellt, sonst entsteht ein neues.Light source with shadows. An existing light from the GLB file is only configured, otherwise a new one is created.
Leuchtet entlang der lokalen -Z-Achse, wie in glTF; das Flächenlicht entlang +Z (blauer Pfeil in Unity). Mit „Look: Unity“ am Mabino Scene übernimmt der Export Unitys eigene Lichter samt Schatten, Flächenlichter und Cookies von selbst; die Komponente brauchst du dann nur für Lichter, die Unity nicht hat (Halbkugel, Umgebung).Shines along the local -Z axis, as in glTF; the area light along +Z (blue arrow in Unity). With “Look: Unity” on the Mabino Scene the export takes Unity’s own lights including shadows, area lights and cookies by itself; you then only need the component for lights Unity does not have (hemisphere, ambient).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
kind | enum(directional | point | spot | hemisphere | ambient | area) = "directional" | Nur beim Erzeugen eines Lichts: directional (Sonne), point, spot, hemisphere (Halbkugellicht: Himmel oben, Boden unten, ohne Schatten), ambient (gleichmäßig von überall) oder area (leuchtende Fläche, z. B. Fenster oder Leuchtwand, ohne Schatten).Only when creating a light: directional (sun), point, spot, hemisphere (sky above, ground below, no shadows), ambient (even from everywhere) or area (glowing surface such as a window or light wall, no shadows). |
color | color = "#ffffff" | Lichtfarbe; beim Halbkugellicht die Farbe von oben.Light color; for the hemisphere light the color from above. |
intensity | number = 1.5 | Helligkeit.Brightness. |
groundColor | color = "#444444" advanced | Halbkugellicht: Farbe, die von unten kommt (Boden).Hemisphere light: color coming from below (ground). |
range | number = 0 | Reichweite von Punkt- und Spotlicht. 0 = unbegrenzt.Range of point and spot lights. 0 = unlimited. |
angle | number = 45 | Öffnungswinkel des Spotlichts in Grad (voller Kegel).Cone angle of the spot light in degrees (full cone). |
width | number = 1 advanced | Flächenlicht: Breite in Metern.Area light: width in meters. |
height | number = 1 advanced | Flächenlicht: Höhe in Metern.Area light: height in meters. |
cookie | asset<image> advanced | Spotlicht: Bild, das das Licht auf die Szene projiziert, wie ein Diaprojektor oder ein Fensterkreuz.Spot light: image the light projects onto the scene, like a slide projector or a window frame. |
castShadow | boolean = true | Das Licht wirft Schatten.The light casts shadows. |
shadowResolution | number = 1024 | Kantenlänge der Schattenkarte in Pixeln (512 bis 4096). Höher ist schärfer und langsamer.Shadow map size in pixels (512 to 4096). Higher is sharper and slower. |
shadowArea | number = 5 | Richtungslicht: halbe Kantenlänge des Bereichs, der Schatten bekommt. 0 = die ganze Szene (passt sich selbst an).Directional light: half the edge length of the area that receives shadows. 0 = the whole scene (fits itself). |
shadowSoftness | number = 1 advanced | Weiche Schattenkante: 1 = scharf, 3 = weich (wie Soft Shadows in Unity), höchstens 8.Soft shadow edge: 1 = sharp, 3 = soft (like Soft Shadows in Unity), at most 8. |
shadowStrength | number = 1 advanced | Wie dunkel der Schatten wird, 0 bis 1 (wie Strength in Unity).How dark the shadow gets, 0 to 1 (like Strength in Unity). |
shadowBias | number = -0.0005 | Feinabstimmung gegen Streifen im Schatten. Meist unverändert lassen.Fine tuning against stripes in shadows. Usually leave unchanged. |
applyToMeshes | boolean = true | Alle Meshes der Szene werfen und empfangen Schatten, soweit Cast Shadows und Receive Shadows am Mesh Renderer es erlauben. Ohne das bleiben GLB-Meshes schattenlos.All meshes in the scene cast and receive shadows, as far as Cast Shadows and Receive Shadows on their Mesh Renderer allow. Without it GLB meshes stay shadowless. |
baked | boolean = false advanced | Das Licht steckt schon in gebackenen Lightmaps (Unity: Mode Baked): im Browser aus, sonst leuchtete es doppelt. Setzt der Export bei Look Unity selbst.The light is already in baked lightmaps (Unity: Mode Baked): off in the browser, otherwise it would shine twice. The export sets it by itself with Look Unity. |
Eine Linie durch Punkte: Wege, Pfeile, Verbindungen, Umrisse. Dicke in Metern, Farbverlauf, auf Wunsch gestrichelt oder geschlossen.A line through points: paths, arrows, connections, outlines. Width in meters, color gradient, optionally dashed or closed.
Mit „Look: Unity“ am Mabino Scene übernimmt der Export Unitys Line Renderer von selbst (Punkte, Breite, Farben, Loop).With “Look: Unity” on the Mabino Scene the export takes Unity’s Line Renderer by itself (points, width, colors, loop).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
points | numbers = [0,0,0,1,0,0] | Punkte als Zahlenliste x, y, z, x, y, z, … im Raum des Objekts (Meter).Points as a number list x, y, z, x, y, z, … in the space of the object (meters). |
width | number = 0.02 | Dicke in Metern.Width in meters. |
color | color = "#ffffff" | Farbe (am Anfang).Color (at the start). |
gradient | boolean = false advanced | Farbverlauf von color zu endColor.Color gradient from color to endColor. |
endColor | color = "#ffffff" advanced | Farbe am Ende, wenn gradient an ist.Color at the end when gradient is on. |
loop | boolean = false | Letzter Punkt wird mit dem ersten verbunden.The last point connects to the first. |
dash | number = 0 advanced | Gestrichelt: Länge der Striche in Metern. 0 = durchgezogen.Dashed: length of the dashes in meters. 0 = solid. |
gap | number = 0.05 advanced | Gestrichelt: Länge der Lücken in Metern.Dashed: length of the gaps in meters. |
opacity | number = 1 advanced | Deckkraft (0 bis 1).Opacity (0 to 1). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setPoints() | Neue Punkte (Text: x,y,z,x,y,z,…).New points (text: x,y,z,x,y,z,…). |
setColor() | Neue Farbe (Text: #rrggbb).New color (text: #rrggbb). |
Schaltet je nach Abstand zur Kamera zwischen Detailstufen um. Die Kinder des Objekts sind die Stufen, das erste ist die feinste.Switches between levels of detail depending on the distance to the camera. The children of the object are the levels, the first one is the finest.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
distances | numbers = [10,25] | Grenzen zwischen den Stufen, zum Beispiel 10 und 25: bis 10 die erste Stufe, bis 25 die zweite, danach die dritte.Boundaries between the levels, for example 10 and 25: up to 10 the first level, up to 25 the second, then the third. |
cullDistance | number = 0 | Ab diesem Abstand verschwindet alles. 0 = nie.Everything disappears beyond this distance. 0 = never. |
hysteresis | number = 0.05 | Anteil der Grenze, den der Abstand überschreiten muss, bevor die Stufe wechselt (gegen Flackern).Fraction of the boundary the distance must cross before the level changes (against flicker). |
Blendet die Materialien eines Objekts weich zu einem anderen Material der GLB und zurück: Farbe, Rauheit, Metallglanz und Deckkraft laufen ineinander. Ein Wechsel zwischen zwei Zielmaterialien blendet direkt, ohne Umweg über das Original. Für Farbvarianten und Materialwahl im Konfigurator.Smoothly blends the materials of an object to another material of the GLB and back: color, roughness, metalness and opacity run into each other. Switching between two target materials blends directly, without a detour via the original. For color variants and material choice in a configurator.
Karten (Texturen) lassen sich nicht überblenden und erscheinen erst am Ende des Übergangs. Die Zielmaterialien müssen in der GLB vorkommen, also an irgendeinem Objekt benutzt werden (ein kleines verstecktes Objekt genügt).Maps (textures) cannot be blended and appear only at the end of the transition. The target materials must exist in the GLB, so some object has to use them (a small hidden object is enough).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, dessen Meshes geblendet werden. Leer: das eigene Objekt samt Kindern.Object whose meshes are blended. Empty: this object with its children. |
material1 | material | Zielmaterial 1 (aus der GLB).Target material 1 (from the GLB). |
material2 | material | Zielmaterial 2.Target material 2. |
material3 | material | Zielmaterial 3.Target material 3. |
duration | number = 0.5 | Sekunden für den Übergang. 0 = sofort.Seconds for the transition. 0 = instant. |
initial | number = 0 | Zielmaterial beim Start: 0 = Original, 1 bis 3.Target material at start: 0 = original, 1 to 3. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
select() | Material wählen (Zahl): 0 = Original, 1 bis 3 = Zielmaterial.Choose material (number): 0 = original, 1 to 3 = target material. |
toggle() | Zwischen Original und Zielmaterial 1 umschalten.Switch between the original and target material 1. |
showOriginal() | Zurück zum Original.Back to the original. |
Chrom und Messing mit weichem Übergang für die Meshes unter einem Objekt. Beide Presets nutzen die Oberflächenstruktur des Originals (Normal- und Rauheitskarte); dazu feine Kratzer und eine gespielte Verdunkelung an Kanten und Rillen. Per Knopf animiert umschalten.Chrome and brass with a smooth transition for the meshes under an object. Both presets use the surface structure of the original (normal and roughness map); plus fine scratches and a faked darkening at edges and grooves. Switch with a button, animated.
Metall sieht nur mit Umgebung gut aus: Environment mit environmentLighting einschalten. Das Rauschen hängt an der Objektform, nicht an UV-Koordinaten. Für Glas: GlassMaterial.Metal only looks good with an environment: switch on environmentLighting in Environment. The noise follows the object shape, not UV coordinates. For glass: GlassMaterial.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, dessen Meshes zu Metall werden. Leer: das eigene Objekt samt Kindern.Object whose meshes become metal. Empty: this object with its children. |
colorA | color = "#b8bfc9" | Farbe des ersten Presets (Chrom).Color of the first preset (chrome). |
metalnessA | number = 0.95 | Metallglanz des ersten Presets, 0 bis 1.Metalness of the first preset, 0 to 1. |
roughnessA | number = 0.07 | Rauheit des ersten Presets, 0 = Spiegel.Roughness of the first preset, 0 = mirror. |
colorB | color = "#d6a62e" | Farbe des zweiten Presets (Messing).Color of the second preset (brass). |
metalnessB | number = 0.9 | Metallglanz des zweiten Presets.Metalness of the second preset. |
roughnessB | number = 0.22 | Rauheit des zweiten Presets.Roughness of the second preset. |
blend | number = 0 | 0 = erstes Preset, 1 = zweites. Wird animiert, wenn man umschaltet.0 = first preset, 1 = second. Animated when switching. |
blendDuration | number = 0.5 | Sekunden für den Übergang. 0 = sofort.Seconds for the transition. 0 = instant. |
roughnessVariation | number = 0.18 | Stärke des Kratzer-Rauschens in der Rauheit, 0 = glatt.Strength of the scratch noise in the roughness, 0 = smooth. |
noiseScale | number = 40 | Körnung des Rauschens: größer = feiner (je Meter der Objektgröße).Grain of the noise: larger = finer (per meter of object size). |
aoStrength | number = 10 | Verdunkelung an Kanten, 8 bis 15 üblich.Darkening at edges, 8 to 15 is typical. |
aoMax | number = 0.35 | Höchste Verdunkelung, 0 bis 1.Maximum darkening, 0 to 1. |
cavityStrength | number = 0.5 | Verdunkelung in Rillen und Gewinden aus der Normalkarte, 0 = aus.Darkening in grooves and threads from the normal map, 0 = off. |
envIntensity | number = 1.5 | Stärke der Umgebungsspiegelung.Strength of the environment reflection. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
toggle() | Zwischen den beiden Presets wechseln, animiert.Switch between the two presets, animated. |
setChrome() | Zum ersten Preset (Chrom).To the first preset (chrome). |
setBrass() | Zum zweiten Preset (Messing).To the second preset (brass). |
blendTo() | Animiert zu einem Mischwert (Zahl 0 bis 1).Animate to a mix value (number 0 to 1). |
toggleMetal() | Zwischen Original und Metall umschalten.Switch between original and metal. |
apply() | Metall (neu) aufbauen.Build the metal (again). |
restore() | Original-Materialien zurück.Restore the original materials. |
Ein echter Spiegel: zeigt die Szene gespiegelt (Wand, Vitrinenboden). Auf Handys standardmäßig ein glänzender Ersatz.A real mirror: shows the scene mirrored (wall, showcase floor). On phones a glossy substitute by default.
Für einen spiegelnden Boden das Objekt um 90° kippen. Kostet in jedem Bild ein zweites Zeichnen der Szene.For a mirroring floor tilt the object by 90°. Costs a second drawing of the scene in every frame.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
width | number = 1 | Breite in Metern.Width in meters. |
height | number = 2 | Höhe in Metern.Height in meters. |
color | color = "#b0b0b0" | Tönung (grau = etwas dunkler als die Szene, wie echte Spiegel).Tint (grey = a bit darker than the scene, like real mirrors). |
resolution | number = 0.5 advanced | Auflösung des Spiegelbilds (0,25 bis 1).Resolution of the mirror image (0.25 to 1). |
onPhones | boolean = false advanced | Auch auf Handys echt spiegeln (zeichnet die Szene zweimal: Wärme, Akku).Mirror for real on phones too (draws the scene twice: heat, battery). |
facing | enum(positiveZ | negativeZ) = "positiveZ" advanced | positiveZ: Vorderseite zur Spitze des blauen Pfeils. negativeZ: umgedreht.positiveZ: front towards the tip of the blue arrow. negativeZ: turned around. |
Partikel: Rauch, Funken, Staub, Schnee, Blasen, Feuerwerk. Viele kleine Bilder, die entstehen, fliegen, Farbe und Größe ändern und verschwinden.Particles: smoke, sparks, dust, snow, bubbles, fireworks. Many small images that appear, fly, change color and size, and disappear.
Ein Zeichenaufruf für alle Teilchen eines Senders. Mit „Look: Unity“ am Mabino Scene übernimmt der Export Unitys Particle System (Main, Emission, Shape, Color/Size over Lifetime, Renderer mit Textur).One draw call for all particles of an emitter. With “Look: Unity” on the Mabino Scene the export takes Unity’s Particle System (Main, Emission, Shape, Color/Size over Lifetime, Renderer with texture).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
rate | number = 20 | Neue Teilchen je Sekunde.New particles per second. |
burst | number = 0 | Teilchen auf einmal beim Start (z. B. Feuerwerk).Particles at once on start (e.g. fireworks). |
maxParticles | number = 500 advanced | Höchstzahl gleichzeitig (bis 5000). Auf dem Handy sparsam bleiben, ein paar hundert reichen meist.Maximum at the same time (up to 5000). Be thrifty on phones, a few hundred are usually enough. |
lifetime | number = 2 | Lebensdauer eines Teilchens in Sekunden.Lifetime of a particle in seconds. |
lifetimeRandom | number = 0.2 advanced | Zufällige Abweichung der Lebensdauer (0 bis 1, 0,2 = ±20 %).Random variation of the lifetime (0 to 1, 0.2 = ±20 %). |
speed | number = 1 | Anfangsgeschwindigkeit in Metern je Sekunde.Start speed in meters per second. |
speedRandom | number = 0.2 advanced | Zufällige Abweichung der Geschwindigkeit (0 bis 1).Random variation of the speed (0 to 1). |
size | number = 0.1 | Größe am Anfang in Metern.Size at the start in meters. |
endSize | number = 0.1 | Größe am Ende in Metern (Rauch wird größer, Funken kleiner).Size at the end in meters (smoke grows, sparks shrink). |
color | color = "#ffffff" | Farbe am Anfang.Color at the start. |
endColor | color = "#ffffff" | Farbe am Ende.Color at the end. |
opacity | number = 1 | Deckkraft am Anfang.Opacity at the start. |
endOpacity | number = 0 | Deckkraft am Ende (0 = verblasst).Opacity at the end (0 = fades out). |
gravity | number = 0 | Anteil der Erdschwere: 1 fällt wie ein Stein, 0 schwebt, negativ steigt (Rauch, Blasen).Share of gravity: 1 falls like a stone, 0 floats, negative rises (smoke, bubbles). |
drag | number = 0 advanced | Bremsung durch Luft (0 = keine).Air drag (0 = none). |
shape | enum(point | sphere | hemisphere | cone | box | circle) = "cone" | Wo Teilchen entstehen: point (ein Punkt), sphere/hemisphere (Kugel, Halbkugel, nach außen), cone (Kegel, wie ein Springbrunnen), box (Quader, z. B. Schnee über einer Fläche), circle (Ring).Where particles appear: point, sphere/hemisphere (outwards), cone (like a fountain), box (e.g. snow above an area), circle (ring). |
radius | number = 0.1 | Größe der Form in Metern (beim Quader die halbe Kantenlänge).Size of the shape in meters (for the box half the edge length). |
angle | number = 25 advanced | Kegel: Öffnungswinkel in Grad.Cone: opening angle in degrees. |
direction | enum(up | forward) = "up" advanced | Achse der Form: up (+Y, nach oben) oder forward (+Z, blauer Pfeil, wie Unitys Kegel).Axis of the shape: up (+Y) or forward (+Z, blue arrow, like Unity’s cone). |
space | enum(local | world) = "world" advanced | world: Teilchen bleiben in der Szene, wenn sich das Objekt bewegt (Rauchfahne). local: sie bewegen sich mit.world: particles stay in the scene when the object moves (smoke trail). local: they move along. |
texture | asset<image> advanced | Bild je Teilchen (png mit Durchsichtigkeit). Leer: weicher Kreis.Image per particle (png with transparency). Empty: soft circle. |
blending | enum(normal | additive) = "normal" | normal: deckend (Rauch, Staub). additive: leuchtend, Farben addieren sich (Funken, Feuer, Magie).normal: opaque (smoke, dust). additive: glowing, colors add up (sparks, fire, magic). |
rotationSpeed | number = 0 advanced | Drehung der Teilchen in Grad je Sekunde (Richtung zufällig).Rotation of the particles in degrees per second (random direction). |
playOnStart | boolean = true | Beim Start loslegen.Start right away. |
loop | boolean = true | Immer weiter ausstoßen. Aus: nur duration Sekunden lang.Keep emitting. Off: only for duration seconds. |
duration | number = 5 advanced | Ohne loop: so lange wird ausgestoßen (Sekunden).Without loop: emitting time in seconds. |
sync | boolean = true advanced | Start, Stopp und Ausstoß sehen alle im Raum (die Teilchen selbst fliegen auf jedem Gerät zufällig).Start, stop and bursts are seen by everyone in the room (the particles themselves fly randomly on every device). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
play() | Ausstoßen starten (mit burst gleich eine Ladung).Start emitting (with burst a load at once). |
stop() | Nichts Neues mehr ausstoßen.Stop emitting new particles. |
toggle() | Ausstoßen an oder aus.Emitting on or off. |
clear() | Alle Teilchen sofort weg.Remove all particles at once. |
emit() | Eine Ladung auf einmal (Zahl, Standard burst bzw. 20).A load at once (number, default burst or 20). |
Punktwolke aus einem Scan (Laserscan, Vermessung, Fotogrammetrie): PLY, PCD oder LAS. Die Wolke liegt am Objekt; sehr große Wolken werden ausgedünnt, damit sie auch auf dem Handy laufen.Point cloud from a scan (laser scan, survey, photogrammetry): PLY, PCD or LAS. The cloud sits at the object; very large clouds are thinned out so they also run on phones.
Lädt den Teil für Punktwolken erst, wenn eine Szene ihn braucht. Punkte sind nicht einzeln anklickbar; Komponenten am Objekt (Info) reagieren über seine übrigen Meshes.Loads the point cloud part only when a scene needs it. Points cannot be clicked individually; components on the object (Info) react through its other meshes.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
file | asset<scan> | Die Datei der Wolke (.ply, .pcd, .las; LAZ vorher als LAS speichern).The file of the cloud (.ply, .pcd, .las; save LAZ as LAS first). |
pointSize | number = 0.01 | Größe eines Punkts in Metern.Size of a point in meters. |
colorMode | enum(file | single | height) = "file" | file: Farben aus der Datei (ohne Farben nach Höhe). single: eine Farbe für alle. height: nach Höhe (blau unten, rot oben).file: colors from the file (without colors by height). single: one color for all. height: by height (blue at the bottom, red at the top). |
color | color = "#ffffff" | Farbe für single.Color for single. |
upAxis | enum(auto | y | z) = "auto" advanced | Welche Achse der Datei nach oben zeigt. auto: bei LAS z (Vermessung), sonst y.Which axis of the file points up. auto: z for LAS (surveying), y otherwise. |
centerOnObject | boolean = true advanced | Mitte der Wolke auf das Objekt legen. Aus: Koordinaten der Datei bleiben (nur bei kleinen Zahlen sinnvoll).Put the middle of the cloud on the object. Off: the file coordinates stay (only sensible with small numbers). |
maxPoints | number = 2000000 advanced | Höchstens so viele Punkte; mehr werden gleichmäßig ausgedünnt.At most this many points; more are thinned out evenly. |
onLoaded | event | Wenn die Wolke geladen ist.When the cloud is loaded. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setPointSize() | Punktgröße setzen (Meter).Set the point size (meters). |
Nachbearbeitung des Bildes: Leuchten heller Stellen (Bloom), Abdunkeln in Ecken (Ambient Occlusion), Tiefenschärfe, Vignette, Kontrast und Sättigung, Kantenglättung. Nur in der Vorschau am Rechner.Post-processing of the image: glow of bright areas (bloom), darkening in corners (ambient occlusion), depth of field, vignette, contrast and saturation, anti-aliasing. Only in the preview on the computer.
Einmal je Szene. Mit „Look: Unity“ am Mabino Scene kommen Bloom, Tiefenschärfe, Vignette und Color Adjustments aus dem URP-Volume; diese Komponente weicht davon ab. In AR und VR immer aus.Once per scene. With “Look: Unity” on the Mabino Scene bloom, depth of field, vignette and color adjustments come from the URP volume; this component deviates from it. Always off in AR and VR.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
bloom | boolean = false | Helle Stellen leuchten (Lampen, Bildschirme, Metall in der Sonne).Bright areas glow (lamps, screens, metal in the sun). |
bloomStrength | number = 0.6 advanced | Stärke des Leuchtens.Strength of the glow. |
bloomRadius | number = 0.4 advanced | Wie weit das Leuchten streut (0 bis 1).How far the glow spreads (0 to 1). |
bloomThreshold | number = 0.85 advanced | Ab dieser Helligkeit leuchtet es (0 bis 1, kleiner = mehr Leuchten).Brightness from which it glows (0 to 1, smaller = more glow). |
ambientOcclusion | boolean = false | Abdunkeln in Ecken, Fugen und unter Gegenständen: mehr Tiefe, besonders ohne gebackenes Licht.Darkening in corners, joints and under objects: more depth, especially without baked lighting. |
aoRadius | number = 0.5 advanced | Reichweite der Abdunkelung in Metern.Reach of the darkening in meters. |
aoIntensity | number = 1 advanced | Stärke der Abdunkelung (0 bis 2).Strength of the darkening (0 to 2). |
depthOfField | boolean = false | Tiefenschärfe wie bei einer Kamera: scharf in focusDistance, davor und dahinter unscharf.Depth of field like a camera: sharp at focusDistance, blurred in front and behind. |
focusDistance | number = 3 advanced | Scharf in diesem Abstand von der Kamera (Meter).Sharp at this distance from the camera (meters). |
aperture | number = 0.01 advanced | Wie schnell es unscharf wird (größer = stärker).How quickly it gets blurred (larger = stronger). |
maxBlur | number = 0.01 advanced | Größte Unschärfe.Maximum blur. |
vignette | boolean = false | Dunkle Bildränder lenken den Blick in die Mitte.Dark image edges draw the eye to the center. |
vignetteDarkness | number = 0.4 advanced | Wie dunkel die Ränder werden (0 bis 1).How dark the edges get (0 to 1). |
vignetteOffset | number = 1 advanced | Größe des hellen Bereichs (größer = Vignette weiter außen).Size of the bright area (larger = vignette further out). |
contrast | number = 0 | Kontrast −1 bis 1 (0 = unverändert).Contrast −1 to 1 (0 = unchanged). |
saturation | number = 0 | Sättigung −1 bis 1 (−1 = schwarzweiß).Saturation −1 to 1 (−1 = black and white). |
antialias | enum(msaa | smaa | none) = "msaa" | Kantenglättung: msaa (genau), smaa (günstig, nach dem Bild), none.Anti-aliasing: msaa (accurate), smaa (cheap, after the image), none. |
onPhones | boolean = false advanced | Auch auf Handys. Kostet Rechenzeit, Wärme und Akku; meist besser aus lassen.Also on phones. Costs computing time, heat and battery; usually better left off. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
toggleBloom() | Bloom an oder aus.Bloom on or off. |
setFocus() | Schärfe auf einen Abstand legen (Zahl: Meter).Set the focus to a distance (number: meters). |
Reflexionssonde: nimmt die Umgebung an ihrer Stelle einmal auf und gibt sie als Spiegelbild an die Objekte in ihrem Kasten. In einem Raum spiegeln sich dann die Wände statt des Himmels.Reflection probe: captures the surroundings at its place once and gives them as reflection to the objects in its box. In a room the walls then reflect instead of the sky.
Nimmt einmal kurz nach dem Laden auf (kostet dann ein paar Millisekunden). Mit „Look: Unity“ übernimmt der Export Unitys Reflection Probe mit Größe.Captures once shortly after loading (costs a few milliseconds then). With “Look: Unity” the export takes Unity’s Reflection Probe with its size.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
size | vec3 = [10,10,10] | Kasten um das Objekt in Metern: Breite, Höhe, Tiefe.Box around the object in meters: width, height, depth. |
resolution | number = 128 advanced | Auflösung der Aufnahme je Würfelseite (16 bis 512 Pixel).Resolution of the capture per cube side (16 to 512 pixels). |
intensity | number = 1 advanced | Stärke der Spiegelung.Strength of the reflection. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
refresh() | Neu aufnehmen.Capture again. |
Macht eine Fläche unsichtbar, lässt sie aber Schatten zeigen. In AR bleibt so nur der Schatten auf dem echten Boden sichtbar, die Objekte stehen, statt zu schweben.Makes a surface invisible but lets it show shadows. In AR only the shadow on the real floor stays visible, so objects stand instead of floating.
Braucht ein Licht mit Schatten (Light-Komponente oder das Licht der App).Needs a light with shadows (Light component or the light of the app).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
opacity | number = 0.35 | Wie dunkel der Schatten wird (0 bis 1).How dark the shadow gets (0 to 1). |
size | number = 10 | Kantenlänge der angelegten Fläche, falls das Objekt kein Mesh hat.Edge length of the created surface if the object has no mesh. |
enableCasters | boolean = true | Alle anderen Meshes der Szene werfen Schatten (außer mit Cast Shadows Off am Mesh Renderer).All other meshes in the scene cast shadows (except those with Cast Shadows Off on their Mesh Renderer). |
Eine Schnittebene mit gefüllter Schnittfläche: schneidet die Meshes unter einem Objekt entlang der Ebene dieses Objekts auf (weg ist, was oberhalb liegt) und füllt den Querschnitt mit einer Farbe, sodass die Körper massiv aussehen statt hohl. Das Objekt der Ebene darf bewegt und animiert werden (in Unity z.B. eine Plane). Für Querschnitte durch Maschinen, Gebäude und Fundstücke.A cutting plane with a filled cross-section: cuts the meshes under an object along the plane of this object (what lies above is cut away) and fills the cross-section with a color, so the bodies look solid instead of hollow. The plane object may be moved and animated (in Unity e.g. a Plane). For cross-sections through machines, buildings and finds.
Die Schnittfläche stimmt nur bei geschlossenen Meshes (ohne Löcher) und ist einfarbig. Meshes mit Skelett werden nicht geschnitten. Die Ebene steht senkrecht auf der lokalen Y-Achse des Objekts. Mit einem Decal (Feld slicing) wird das Bild mitgeschnitten.The cross-section is only right for closed meshes (no holes) and has a single color. Skinned meshes are not cut. The plane is perpendicular to the local Y axis of the object. With a Decal (field slicing) the image is cut too.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, dessen Meshes geschnitten werden. Pflicht: ohne Angabe wird nichts geschnitten.Object whose meshes are cut. Required: without it nothing is cut. |
flip | boolean = false | Die andere Seite wegschneiden: unten statt oben (Richtung der lokalen Y-Achse).Cut away the other side: below instead of above (direction of the local Y axis). |
showCap | boolean = true | Schnittfläche füllen.Fill the cross-section. |
capColor | color = "#ff3366" | Farbe der Schnittfläche.Color of the cross-section. |
capGlow | number = 0.5 | Leuchten der Schnittfläche, 0 = nur beleuchtet.Glow of the cross-section, 0 = lit only. |
showPlane | boolean = false | Die Ebene selbst halbdurchsichtig zeigen.Show the plane itself, semi-transparent. |
planeColor | color = "#ff66aa" | Farbe der gezeigten Ebene.Color of the shown plane. |
planeOpacity | number = 0.35 | Deckkraft der gezeigten Ebene, 0 bis 1.Opacity of the shown plane, 0 to 1. |
planeSize | number = 2 | Kantenlänge der gezeigten Ebene in Metern.Edge length of the shown plane in meters. |
rangeMin | number = 0 | Untere Grenze der Fahrt entlang der lokalen Y-Achse (Meter vom Startpunkt).Lower limit of the travel along the local Y axis (meters from the start point). |
rangeMax | number = 0 | Obere Grenze. Gleich rangeMin = die Lage des Objekts bleibt maßgeblich (z.B. eine Animation aus Unity).Upper limit. Equal to rangeMin = the pose of the object stays authoritative (e.g. an animation from Unity). |
slice | number = 0.5 | Stellung innerhalb des Bereichs, 0 bis 1.Position within the range, 0 to 1. |
showSlider | boolean = false | Schieber für die Stellung über der Menüleiste zeigen.Show a slider for the position above the menu bar. |
label | string = "Slice" | Beschriftung des Schiebers (Vorlesen, Tooltip).Label of the slider (screen reader, tooltip). |
sync | boolean = true | Im gemeinsamen Raum gilt die Stellung des Schiebers für alle, auch für später Hinzukommende.In a shared room the slider position applies to everyone, also to those who join later. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setSlice() | Stellung im Bereich setzen (Zahl 0 bis 1).Set the position in the range (number 0 to 1). |
toggleCap() | Schnittfläche zeigen oder verbergen.Show or hide the cross-section. |
rebuild() | Meshes neu einsammeln (nach neuen Objekten unter target).Collect the meshes again (after new objects below target). |
Himmel mit Sonnenstand für Ort, Datum und Uhrzeit: Atmosphäre mit Sonne und Wolken, die Sonne der Szene dreht sich mit, das Umgebungslicht kommt aus dem Himmel. Die Zeit kann laufen (Tag im Zeitraffer).Sky with sun position for place, date and time: atmosphere with sun and clouds, the scene sun turns along, the ambient light comes from the sky. Time can run (a day in time lapse).
Wirkt am besten mit Tonemapping (Look: Unity mit ACES oder AgX am Mabino Scene). In AR ist der echte Himmel da: dort nur das Licht.Works best with tone mapping (Look: Unity with ACES or AgX on the Mabino Scene). In AR the real sky is there: only the light.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
latitude | number = 51.05 | Breitengrad des Ortes (Dresden 51,05; Prag 50,08; Berlin 52,52).Latitude of the place (Dresden 51.05; Prague 50.08; Berlin 52.52). |
date | string = "06-21" | Datum „MM-TT“ oder „JJJJ-MM-TT“; leer = heute.Date “MM-DD” or “YYYY-MM-DD”; empty = today. |
time | number = 15 | Sonnenzeit in Stunden: 12 = Mittag (Sonne im Süden), 6.5 = halb sieben.Solar time in hours: 12 = noon (sun in the south), 6.5 = half past six. |
timeSpeed | number = 0 | Stunden je Sekunde, die die Zeit läuft (0 = steht, 0,4 = ein Tag in einer Minute).Hours per second the time runs (0 = still, 0.4 = a day in a minute). |
sun | node | Objekt mit dem Richtungslicht der Sonne; es dreht sich mit, wird bei tiefer Sonne wärmer und schwächer. Leer: nur Himmel.Object with the directional light of the sun; it turns along, gets warmer and weaker when the sun is low. Empty: sky only. |
sunIntensity | number = 3 advanced | Stärke des Sonnenlichts bei hoher Sonne.Strength of the sunlight when the sun is high. |
northAngle | number = 0 advanced | Wo Norden liegt: Drehung in Grad vom blauen Pfeil (+Z) der Szene.Where north is: rotation in degrees from the blue arrow (+Z) of the scene. |
clouds | number = 0.3 | Wolkendecke 0 bis 1.Cloud cover 0 to 1. |
turbidity | number = 3 advanced | Dunst: 2 = klar, 10 = diesig.Haze: 2 = clear, 10 = hazy. |
environmentLighting | boolean = true | Der Himmel beleuchtet und spiegelt sich in den Materialien.The sky lights and reflects in the materials. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setTime() | Uhrzeit setzen (Zahl: Sonnenzeit in Stunden).Set the time (number: solar time in hours). |
setDate() | Datum setzen (Text „MM-TT“).Set the date (text “MM-DD”). |
setTimeSpeed() | Zeit laufen lassen (Zahl: Stunden je Sekunde, 0 = anhalten).Let time run (number: hours per second, 0 = stop). |
Eine Spur hinter einem bewegten Objekt: Kometenschweif, Bewegungsbahn, Pinselstrich. Wird nach hinten schmaler und blasser.A trail behind a moving object: comet tail, motion path, brush stroke. Gets thinner and fainter towards the end.
Die Spur liegt im Raum der Szene und bleibt stehen, wenn das Objekt weiterzieht. Mit „Look: Unity“ übernimmt der Export Unitys Trail Renderer von selbst.The trail lies in the space of the scene and stays where it is when the object moves on. With “Look: Unity” the export takes Unity’s Trail Renderer by itself.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
time | number = 1 | Wie lange ein Stück der Spur sichtbar bleibt (Sekunden).How long a piece of the trail stays visible (seconds). |
width | number = 0.1 | Breite am Objekt in Metern.Width at the object in meters. |
endWidth | number = 0 | Breite am Ende in Metern.Width at the end in meters. |
color | color = "#ffffff" | Farbe am Objekt.Color at the object. |
gradient | boolean = false advanced | Farbverlauf von color zu endColor.Color gradient from color to endColor. |
endColor | color = "#ffffff" advanced | Farbe am Ende, wenn gradient an ist.Color at the end when gradient is on. |
opacity | number = 1 advanced | Deckkraft am Objekt.Opacity at the object. |
endOpacity | number = 0 advanced | Deckkraft am Ende (0 = verblasst ganz).Opacity at the end (0 = fades out completely). |
minDistance | number = 0.02 advanced | Neuer Punkt erst nach dieser Strecke in Metern (weniger Punkte, gleichmäßigere Spur).New point only after this distance in meters (fewer points, smoother trail). |
emitting | boolean = true | Zeichnet gerade. Aus: die vorhandene Spur verblasst, es kommt nichts dazu.Currently drawing. Off: the existing trail fades, nothing new is added. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
clear() | Spur löschen (z. B. nach einem Sprung).Clear the trail (e.g. after a jump). |
startEmitting() | Spur zeichnen.Start drawing the trail. |
stopEmitting() | Spur nicht mehr verlängern.Stop extending the trail. |
Wasserfläche mit Wellen, Spiegelung und Sonnenglanz (See, Becken, Brunnen). Auf Handys standardmäßig ein glänzender Ersatz.Water surface with waves, reflection and sun glint (lake, pool, fountain). On phones a glossy substitute by default.
Liegt waagerecht im Objekt. Der Sonnenglanz kommt vom ersten Richtungslicht der Szene. Wellen ohne Bilddatei.Lies horizontally in the object. The sun glint comes from the first directional light of the scene. Waves without an image file.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
width | number = 10 | Breite in Metern (X).Width in meters (X). |
depth | number = 10 | Tiefe in Metern (Z).Depth in meters (Z). |
color | color = "#1e4d5c" | Wasserfarbe.Water color. |
distortion | number = 0.2 | Stärke der Wellen im Spiegelbild (wächst zur Kamera hin; 0,2 passt für Becken in ein paar Metern, 2 für einen See aus der Ferne).Strength of the waves in the reflection (grows towards the camera; 0.2 suits a pool a few meters away, 2 a lake seen from afar). |
speed | number = 0.5 | Wellengeschwindigkeit.Wave speed. |
waveScale | number = 2 advanced | Größe des Wellenmusters in Metern (kleiner = feinere Wellen).Size of the wave pattern in meters (smaller = finer waves). |
onPhones | boolean = false advanced | Auch auf Handys echt spiegeln (zeichnet die Szene zweimal).Mirror for real on phones too (draws the scene twice). |
Szene und AnsichtScene and view
Die Kamera der Vorschau folgt einem animierten Objekt: deine Kamerafahrt aus Unity als Animation-Clip auf einem Leerobjekt (Kamerawagen). Die Timeline fährt den Clip, also fahren Schieber, Mausrad oder Seitenscroll die Kamera. Steht die Zeitachse kurz still, darf der Besucher sich umschauen; geht es weiter, holt die Fahrt die Kamera weich zurück.The preview camera follows an animated object: your camera ride from Unity as an animation clip on an empty (camera dolly). The timeline drives the clip, so slider, mouse wheel or page scroll drive the camera. When the timeline rests briefly the visitor may look around; when it continues the ride smoothly takes the camera back.
Nur in der Vorschau; in AR und VR führt das Gerät die Kamera. Der Kamerawagen braucht einen Animation-Clip in der GLB (Unity: Animation-Komponente oder Animator mit Clip, UnityGLTF exportiert ihn). Mit lookAt ist die Richtung immer richtig.Preview only; in AR and VR the device moves the camera. The dolly needs an animation clip in the GLB (Unity: Animation component or Animator with clip, UnityGLTF exports it). With lookAt the direction is always right.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das animierte Objekt, dem die Kamera folgt. Leer: das eigene Objekt.The animated object the camera follows. Empty: this object. |
lookAt | node | Blickziel (darf animiert sein). Leer: die Drehung des Objekts gilt.Look target (may be animated). Empty: the rotation of the object applies. |
timeline | component<Timeline> | Die Zeitachse, nach deren Ruhe sich das Umschauen richtet. Leer: die erste der Szene.The timeline whose rest governs looking around. Empty: the first in the scene. |
facing | enum(positiveZ | negativeZ) = "positiveZ" | Wohin das Objekt „schaut“: positiveZ (blauer Pfeil in Unity zeigt zum Motiv) oder negativeZ (three.js-Kamera). Stimmt die Richtung nicht, umschalten.Where the object "looks": positiveZ (blue arrow in Unity points at the subject) or negativeZ (three.js camera). If the direction is wrong, switch. |
orbitAfter | number = 1 | Sekunden Ruhe, bis sich der Besucher umschauen darf. 0 = nie, Kamera fest.Seconds of rest until the visitor may look around. 0 = never, camera fixed. |
blend | number = 0.8 | Sekunden, in denen die Fahrt die Kamera aus dem Umschauen zurückholt.Seconds in which the ride takes the camera back from looking around. |
orbitDistance | number = 3 | Ohne lookAt: Abstand des Drehpunkts vor der Kamera in Metern.Without lookAt: distance of the pivot in front of the camera in meters. |
Ein Wegpunkt für die Kamera: Lage und Blickrichtung dieses Leerobjekts (der blaue Pfeil zeigt, wohin die Kamera schaut) oder ein Blickziel. CameraWaypoints fährt die Wegpunkte an; beim Ankommen und Verlassen feuern Ereignisse.A waypoint for the camera: position and view direction of this empty (the blue arrow shows where the camera looks) or a look target. CameraWaypoints travels to the waypoints; arriving and leaving fire events.
go() auf dem Wegpunkt lässt sich an einen Klick hängen (EventTrigger, MenuButton, HtmlTrigger). Ein CameraWaypoints in der Szene genügt für alle Wegpunkte.go() on the waypoint can be attached to a click (EventTrigger, MenuButton, HtmlTrigger). One CameraWaypoints in the scene is enough for all waypoints.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
label | string = "" | Name für Knöpfe und goTo(). Leer: der Objektname.Name for buttons and goTo(). Empty: the object name. |
order | number = 0 | Reihenfolge für next/previous und die Knöpfe (klein zuerst).Order for next/previous and the buttons (small first). |
lookAt | node | Blickziel. Leer: die Drehung des Objekts gilt.Look target. Empty: the rotation of the object applies. |
facing | enum(positiveZ | negativeZ) = "positiveZ" | Wohin das Objekt „schaut“: positiveZ (blauer Pfeil in Unity) oder negativeZ.Where the object "looks": positiveZ (blue arrow in Unity) or negativeZ. |
onArrive | event | Wenn die Kamera hier ankommt (Tafel einblenden, Animation starten).When the camera arrives here (show panel, start animation). |
onLeave | event | Wenn die Kamera von hier aus weiterfährt.When the camera moves on from here. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
go() | Kamera hierher fahren.Move the camera here. |
jump() | Sofort hierher springen.Jump here immediately. |
Fährt die Kamera der Vorschau zu Wegpunkten (CameraWaypoint): per Knopf im Menü, per Knopf der Seite, per Ereignis oder von außen. Weicher Anlauf und Auslauf ohne Rollen; danach darf der Besucher um das Blickziel kreisen. reset() fährt zur Ausgangslage zurück.Moves the preview camera to waypoints (CameraWaypoint): via menu button, page button, event or from outside. Smooth start and stop without rolling; afterwards the visitor may orbit the look target. reset() returns to the initial pose.
Nur in der Vorschau. Von außen: mabino.call("Kamera", "CameraWaypoints", "goTo", "Vitrine 2"). Ereignisse je Wegpunkt stehen am CameraWaypoint.Preview only. From outside: mabino.call("Camera", "CameraWaypoints", "goTo", "Showcase 2"). Events per waypoint are on the CameraWaypoint.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
transition | number = 1 | Dauer der Fahrt in Sekunden. 0 = springen.Duration of the ride in seconds. 0 = jump. |
cooldown | number = 0.2 | Sekunden Sperre zwischen zwei Fahrten (gegen Doppelklick).Seconds of lock between two rides (against double clicks). |
showButtons | boolean = false | Je Wegpunkt ein Knopf im Menü der App; der aktive leuchtet.One button per waypoint in the app menu; the active one lights up. |
selector | string = "" | CSS-Selektor für Knöpfe der Seite; data-waypoint nennt Name oder Nummer, z.B. <button class="cam-btn" data-waypoint="Vitrine 2">.CSS selector for buttons of the page; data-waypoint names name or number, e.g. <button class="cam-btn" data-waypoint="Showcase 2">. |
constrainUp | boolean = true | Kein Rollen während der Fahrt, oben bleibt oben.No rolling during the ride, up stays up. |
orbitDistance | number = 3 | Ohne lookAt am Wegpunkt: Abstand des Drehpunkts vor der Kamera in Metern.Without lookAt at the waypoint: distance of the pivot in front of the camera in meters. |
startAt | string = "" | Wegpunkt (Name oder Nummer), zu dem die Kamera beim Start springt. Leer: keiner.Waypoint (name or number) the camera jumps to at start. Empty: none. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
goTo() | Zu einem Wegpunkt fahren (Name oder Nummer ab 0).Move to a waypoint (name or number from 0). |
jumpTo() | Sofort zu einem Wegpunkt springen (Name oder Nummer).Jump to a waypoint immediately (name or number). |
next() | Zum nächsten Wegpunkt.To the next waypoint. |
previous() | Zum vorigen Wegpunkt.To the previous waypoint. |
first() | Zum ersten Wegpunkt.To the first waypoint. |
reset() | Zurück zur Ausgangslage der Kamera.Back to the initial camera pose. |
rebind() | Knöpfe der Seite erneut suchen.Look for the page buttons again. |
Blendet das Objekt beim Laden aus. Es bleibt in der Hierarchie und lässt sich später einblenden, zum Beispiel mit TapVisibility.Hides the object on load. It stays in the hierarchy and can be shown later, for example with TapVisibility.
Dreht ein Objekt zur Kamera oder zu einem Ziel (Billboard). Für Beschriftungen und Schilder, die immer lesbar bleiben sollen.Turns an object toward the camera or a target (billboard). For labels and signs that must always stay readable.
Die Vorderseite ist die +Z-Seite, wie bei glTF-Modellen üblich.The front is the +Z side, as usual for glTF models.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Ziel. Leer: die Kamera (bei followCamera).The target. Empty: the camera (with followCamera). |
followCamera | boolean = true | Zur aktiven Kamera drehen.Face the active camera. |
yawOnly | boolean = true | Nur um die senkrechte Achse drehen, damit das Schild nicht kippt.Rotate only around the vertical axis so the sign does not tilt. |
flip | boolean = false | Um 180° drehen, falls das Modell andersherum gebaut ist.Turn by 180° if the model was built the other way round. |
Zeigt ein Objekt nur in bestimmten Modi: Vorschau (Bildschirm), AR oder VR. Zum Beispiel eine Anleitung nur in der Vorschau oder einen Boden nur in VR.Shows an object only in certain modes: preview (screen), AR or VR. For example instructions only in the preview or a floor only in VR.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Das Objekt, das geschaltet wird. Leer: das eigene Objekt.The object to switch. Empty: this object. |
inPreview | boolean = true | In der Vorschau am Bildschirm zeigen.Show in the on-screen preview. |
inAr | boolean = true | In AR zeigen.Show in AR. |
inVr | boolean = true | In VR zeigen.Show in VR. |
Lädt ein Modell erst bei Bedarf: ein großes Exponat nach Antippen, Räume eines Rundgangs nach und nach, Varianten zum Umschalten. Entladen gibt den Speicher frei.Loads a model only when needed: a large exhibit after tapping, rooms of a tour one by one, variants to switch. Unloading frees the memory.
Das Modell hängt am Objekt (Lage, Drehung, Größe des Objekts gelten). Komponenten im nachgeladenen Modell gibt es nicht: Interaktionen gehören an Objekte der Szene.The model hangs on the object (position, rotation and size of the object apply). Components inside the loaded model are not supported: interactions belong on objects of the scene.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
model | asset<model> | Das Modell: eine .glb-Datei oder ein Prefab (der Export macht daraus eine eigene GLB).The model: a .glb file or a prefab (the export turns it into its own GLB). |
loadOnStart | boolean = false | Gleich beim Start laden. Aus: erst über die Aktion load.Load right at the start. Off: only through the load action. |
playAnimation | boolean = false advanced | Die erste Animation des Modells als Schleife abspielen.Play the first animation of the model as a loop. |
sync | boolean = true advanced | Laden und Entladen für alle im Raum.Load and unload for everyone in the room. |
onLoaded | event | Aufrufe, sobald das Modell da ist.Calls as soon as the model is there. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
load() | Modell laden und zeigen.Load and show the model. |
unload() | Modell entfernen und Speicher freigeben.Remove the model and free the memory. |
toggle() | Laden oder entladen.Load or unload. |
Die Kamera der Vorschau im Browser: Setze die Komponente auf die Kamera unter der Mabino Scene. Die Vorschau startet dann genau mit dem Blick dieser Kamera (Lage, Field of View, Clipping Planes) und lässt sie mit Maus oder Finger um das Ziel kreisen. In AR und VR ohne Wirkung, dort führt das Gerät die Kamera.The camera of the browser preview: put the component on the camera below the Mabino Scene. The preview then starts exactly with the view of this camera (position, field of view, clipping planes) and lets it orbit the target with mouse or finger. No effect in AR and VR, there the device moves the camera.
Was die Game-Ansicht in Unity zeigt, zeigt auch der Browser. Ist das Browserfenster schmaler (Handy hochkant), bleibt die Breite der Game-Ansicht im Bild. Eine Kamera ohne OrbitControls unter der Mabino Scene setzt nur den Startblick, die Vorschau kreist dann mit den Standardwerten. Ohne Kamera unter der Mabino Scene nimmt die App ihre eigene Vorschau-Kamera (1,4 m hoch, 3 m vor dem Nullpunkt).What the Game view in Unity shows, the browser shows too. If the browser window is narrower (phone upright), the width of the Game view stays in the picture. A camera without OrbitControls below the Mabino Scene only sets the start view, the preview then orbits with default settings. Without a camera below the Mabino Scene the app uses its own preview camera (1.4 m high, 3 m in front of the origin).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
target | node | Objekt, um das die Kamera kreist. Leer: der Punkt in der Bildmitte, so tief wie die Inhalte. Liegt die Komponente nicht an einer Kamera: das eigene Objekt.Object the camera orbits. Empty: the point in the middle of the picture, as deep as the content. If the component is not on a camera: this object. |
distance | number = 0 advanced | Abstand der Kamera zum Ziel. 0 = so, wie die Kamera in Unity steht.Distance of the camera to the target. 0 = as the camera stands in Unity. |
minDistance | number = 0.5 | Kleinster Abstand beim Zoomen. Die Near Clip Plane der Kamera sollte deutlich kleiner sein, sonst schneidet sie Nahes ab.Smallest distance when zooming. The near clip plane of the camera should be much smaller, otherwise it cuts off close objects. |
maxDistance | number = 0 | Größter Abstand beim Zoomen. 0 = unbegrenzt.Largest distance when zooming. 0 = unlimited. |
autoRotate | boolean = false | Die Kamera dreht sich von selbst um das Ziel.The camera rotates around the target by itself. |
autoRotateSpeed | number = 2 | Drehgeschwindigkeit beim Autodrehen (2 = eine Umdrehung in 30 Sekunden).Speed of auto-rotation (2 = one turn in 30 seconds). |
enableZoom | boolean = true | Zoomen erlauben.Allow zooming. |
enablePan | boolean = true | Verschieben der Ansicht erlauben.Allow panning the view. |
minPolarAngle | number = 0 | Kleinster Blickwinkel in Grad, 0 = von oben.Smallest view angle in degrees, 0 = from above. |
maxPolarAngle | number = 180 | Größter Blickwinkel in Grad, 90 = nicht unter den Horizont, 180 = von unten.Largest view angle in degrees, 90 = not below the horizon, 180 = from below. |
zoomToCursor | boolean = false | Mausrad zoomt dorthin, wo der Zeiger steht, statt gerade auf den Drehpunkt in der Bildmitte. Standard aus: Der Drehpunkt liegt ohnehin auf der Oberfläche in der Bildmitte, so bleibt das Zoomen in großen Szenen zügig und das Drehen ruhig.The mouse wheel zooms to where the pointer is instead of straight to the pivot in the middle of the picture. Off by default: the pivot already lies on the surface in the middle of the picture, so zooming stays quick in large scenes and rotating stays calm. |
focusOnDoubleClick | boolean = true | Doppelklick (am Handy Doppeltipp) auf eine Stelle: Die Kamera fährt in knapp einer Sekunde darauf zu und kreist danach um sie. Jede Eingabe bricht die Fahrt ab.Double-click (double-tap on the phone) on a spot: the camera moves towards it in just under a second and orbits it afterwards. Any input stops the move. |
zoomSpeed | number = 1 advanced | Tempo beim Zoomen, 1 = Standard.Zoom speed, 1 = default. |
panSpeed | number = 1 advanced | Tempo beim Verschieben, 1 = Standard.Pan speed, 1 = default. |
rotateSpeed | number = 1 advanced | Tempo beim Drehen, 1 = Standard.Rotation speed, 1 = default. |
Laufen in der Ich-Perspektive für Rundgänge in der Vorschau: am Rechner W A S D oder Pfeiltasten und Umsehen mit gedrückter Maus, am Handy ein Steuerkreis unten links und Umsehen mit einem Finger.First-person walking for tours in the preview: on the computer W A S D or arrow keys and looking around with the mouse button held, on the phone a control circle bottom left and looking around with one finger.
Nur in der Vorschau; in AR und VR läuft man selbst. Beim Laufen ruht die Orbit-Kamera, danach übernimmt sie vor dem Blick.Only in the preview; in AR and VR you walk yourself. While walking the orbit camera rests, afterwards it takes over in front of the view.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
startAt | node | Startpunkt: Füße auf dem Objekt, Blick entlang seines blauen Pfeils. Leer: wo die Kamera gerade ist.Start point: feet on the object, looking along its blue arrow. Empty: where the camera currently is. |
eyeHeight | number = 1.6 | Augenhöhe über dem Boden in Metern.Eye height above the floor in meters. |
speed | number = 1.4 | Gehgeschwindigkeit in Metern je Sekunde (mit Umschalt doppelt).Walking speed in meters per second (double with Shift). |
startActive | boolean = false | Gleich beim Start laufen. Aus: über den Knopf Walk.Walk right at the start. Off: through the Walk button. |
showButton | boolean = true | Knopf „Walk“ im Menü zum Umschalten zwischen Laufen und Umkreisen.Button “Walk” in the menu to switch between walking and orbiting. |
collisions | boolean = true | Boden und Wände der Szene beachten: Augen bleiben über dem Boden (Stufen bis 0,4 m), Wände halten auf.Respect floor and walls of the scene: eyes stay above the floor (steps up to 0.4 m), walls stop you. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
activate() | Laufen beginnen.Start walking. |
deactivate() | Laufen beenden, zurück zum Umkreisen.Stop walking, back to orbiting. |
toggle() | Zwischen Laufen und Umkreisen wechseln.Switch between walking and orbiting. |
VR und ARVR and AR
Der echte Raum in AR: Licht des Raums auf den Inhalten, Spiegelungen, Verdeckung durch echte Gegenstände, erkannte Flächen und Anker. Was das Gerät nicht kann, fällt still weg.The real room in AR: light of the room on the content, reflections, occlusion by real objects, detected surfaces and anchors. What the device cannot do is skipped silently.
Auf dem iPhone gibt es keine Lichtrichtung aus dem Bild; die Schatten behalten die Richtung der Sonne der Szene.On the iPhone the image gives no light direction; shadows keep the direction of the scene’s sun.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
lightEstimation | boolean = true | Licht des Raums schätzen: Android misst Richtung, Farbe und Stärke (ARCore), iPhone und Bild-, Dosen- und Gesichts-Tracking nehmen Helligkeit und Farbe aus dem Kamerabild.Estimate the light of the room: Android measures direction, color and strength (ARCore); iPhone and image, can and face tracking take brightness and color from the camera image. |
lightStrength | number = 1 advanced | Stärke des geschätzten Lichts (1 = wie gemessen).Strength of the estimated light (1 = as measured). |
adaptSceneLights | boolean = true advanced | Lichter der Szene an den Raum anpassen. Android: durch das gemessene Licht ersetzen (mit Schatten). Kamerabild: Helligkeit und Farbe der Lichter folgen dem Raum, das Umgebungslicht kommt aus dem Bild. Aus: das gemessene Licht kommt nur hinzu.Adapt the lights of the scene to the room. Android: replace them with the measured light (with shadows). Camera image: brightness and color of the lights follow the room, ambient light comes from the image. Off: the measured light is only added. |
reflections | boolean = true | Android: glänzende Materialien spiegeln den echten Raum.Android: glossy materials reflect the real room. |
occlusion | boolean = false | Android: echte Gegenstände verdecken die Inhalte (eine Hand vor dem Objekt, ein Tisch davor). Braucht ein Gerät mit Tiefenmessung und kostet Rechenzeit.Android: real objects hide the content (a hand in front of the object, a table in front). Needs a device with depth sensing and costs computing time. |
showPlanes | boolean = false | Android: erkannte Böden und Tische durchscheinend zeigen, bis platziert ist.Android: show detected floors and tables translucent until placed. |
anchors | boolean = true advanced | Android: Die Platzierung hängt an einem Anker des Systems und bleibt stehen, wenn ARCore seine Karte nachbessert.Android: the placement hangs on an anchor of the system and stays put when ARCore refines its map. |
Standpunkt in AR: Gibt Maßstab und Blickrichtung vor. Skaliere das Objekt, um große Szenen verkleinert zu zeigen: Bei 100 ist der Besucher ein Riese, die Szene erscheint im Maßstab 1:100. Der Nullpunkt der Szene entsteht genau im Ring, auf den man tippt.Viewpoint in AR: sets scale and viewing direction. Scale the object to show large scenes smaller: at 100 the visitor is a giant and the scene appears at 1:100. The origin of the scene appears exactly in the ring you tap.
Die Figur mit Handy in der Szene-Ansicht ist der Besucher (1,7 m mal Skalierung, gleichmäßig skalieren). Mit tap steht, was im Nullpunkt steht, im Ring; der Besucher schaut aus der Richtung, in der die Figur vom Nullpunkt aus steht. Mit visitor überblickt man in AR, was die Figur überblickt (steht sie auf einem Hügel, liegt der Hügel auf dem Fußboden). Ohne Standpunkt wird der getippte Punkt zum Nullpunkt der Szene, in Originalgröße. Bild-, Dosen- und Gesichts-Tracking platzieren selbst und beachten ihn nicht.The figure with a phone in the Scene view is the visitor (1.7 m times the scale, scale it evenly). With tap, whatever stands at the origin stands in the ring; the visitor looks from the direction in which the figure stands as seen from the origin. With visitor, what the figure overlooks is what you see in AR (if it stands on a hill, the hill lies on the floor). Without a viewpoint the tapped point becomes the origin of the scene, at original size. Image, can and face tracking place the scene themselves and ignore it.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
placeAt | enum(tap | visitor) = "tap" | tap: Der Nullpunkt der Szene liegt im getippten Ring, man sieht sie aus der Richtung des Standpunkts. visitor: Der Besucher steht mit den Füßen am Standpunkt und schaut in Richtung des blauen Pfeils, der Tipp liefert nur die Bodenhöhe.tap: the origin of the scene lies in the tapped ring, seen from the direction of the viewpoint. visitor: the visitor stands with their feet on the viewpoint, looking along the blue arrow; the tap only gives the floor height. |
Eine Dose oder Flasche als Anker: In AR erkennt die App das Etikett im Kamerabild und setzt dieses Objekt mit allen Kindern auf die Dose, auch wenn sie gedreht wird. Die Kinder sind der Inhalt, gebaut in Metern an der Dose, die die Szene-Ansicht zeigt. Mit einem CylinderTarget in der Szene startet „Start AR“ das Bild-Tracking (Android und iPhone) statt der Raumerkennung.A can or bottle as anchor: in AR the app finds the label in the camera picture and puts this object with all its children on the can, also when it is turned. The children are the content, built in meters on the can shown in the Scene view. With a CylinderTarget in the scene, "Start AR" starts image tracking (Android and iPhone) instead of room tracking.
Lage an der Dose: +Y ist die Achse nach oben, der Ursprung liegt auf der Achse an der Unterkante des Etiketts, +Z (blauer Pfeil) zeigt auf die Mitte des Etiketts. Ein Deckel schwebt bei y = Etiketthöhe + 3 cm; was am Etikett klebt, sitzt wenige Millimeter außerhalb des Radius. Vom Etikett muss mindestens ein Drittel des Umfangs zu sehen sein. Gute Etiketten haben viel Struktur und keine Wiederholungen rund um die Dose (sonst ist die Drehung mehrdeutig). Die Größe des Objekts zählt in AR nicht: 1 Einheit = 1 Meter.Position on the can: +Y is the axis upward, the origin is on the axis at the bottom edge of the label, +Z (blue arrow) points to the middle of the label. A lid floats at y = label height + 3 cm; what sticks to the label sits a few millimeters outside the radius. At least a third of the circumference of the label must be visible. Good labels have lots of structure and no repetitions around the can (otherwise the rotation is ambiguous). The scale of the object does not count in AR: 1 unit = 1 meter.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
label | asset<image> | Das abgewickelte Etikett, also die Druckdatei, PNG oder JPG in voller Auflösung: Breite = Weg um die Dose, Höhe = Etiketthöhe. Die App übersetzt es beim Start (rund 0,1 s) und meldet in der Konsole, wie gut es sich eignet.The unwrapped label, i.e. the print file, PNG or JPG at full resolution: width = the way around the can, height = label height. The app compiles it at start (about 0.1 s) and reports in the console how well it is suited. |
radiusMeters | number = 0.033 | Radius der Dose in Metern, nachmessen (Durchmesser halbieren). Standarddose mit 66 mm Durchmesser: 0.033.Radius of the can in meters, measure it (half the diameter). Standard can with 66 mm diameter: 0.033. |
radiusTopMeters | number = 0 advanced | Radius am oberen Rand des Etiketts, wenn sich die Dose oder Flasche verjüngt (Kegelstumpf). 0 = wie unten (Zylinder).Radius at the top edge of the label if the can or bottle tapers (truncated cone). 0 = same as below (cylinder). |
heightMeters | number = 0.09 | Höhe des Etiketts in Metern, nachmessen. Zusammen mit dem Radius bestimmt sie den Maßstab der Inhalte.Height of the label in meters, measure it. Together with the radius it sets the scale of the content. |
arcDegrees | number = 360 | Wie weit das Etikett um die Dose reicht, in Grad: 360 = rundum, 180 = halbe Dose. Die Mitte des Bilds liegt vorne (+Z).How far the label reaches around the can, in degrees: 360 = all around, 180 = half the can. The middle of the picture is at the front (+Z). |
moves | enum(target | scene) = "target" | target = nur dieses Objekt folgt der Dose. scene = die ganze Szene wird so gesetzt, dass dieses Objekt auf der Dose liegt.target = only this object follows the can. scene = the whole scene is placed so that this object lies on the can. |
holdSeconds | number = 0.5 advanced | Sekunden, die der Inhalt nach dem Verlust der Dose stehen bleibt, bevor er verschwindet. Verhindert Flackern bei kurzen Aussetzern.Seconds the content stays after the can is lost, before it disappears. Prevents flicker on short dropouts. |
onFound | event | Wenn die Dose erkannt wurde und der Inhalt erscheint.When the can was found and the content appears. |
onLost | event | Wenn die Dose verloren ist (nach holdSeconds) und der Inhalt verschwindet.When the can is lost (after holdSeconds) and the content disappears. |
Mimik als Auslöser: Zeigt das Gesicht einen Ausdruck stärker als die Schwelle, etwa Mund offen (jawOpen), Zwinkern (eyeBlinkLeft) oder Lächeln (mouthSmileLeft), feuert onStart, danach onEnd. Braucht ein FaceTarget in der Szene.Expression as trigger: when the face shows an expression stronger than the threshold, such as mouth open (jawOpen), wink (eyeBlinkLeft) or smile (mouthSmileLeft), onStart fires, afterwards onEnd. Needs a FaceTarget in the scene.
Den aktuellen Wert zeigt ein DebugPanel mit watch = Objekt.FaceExpression.value. Am selben Objekt wie das FaceTarget ruht die Komponente, solange kein Gesicht zu sehen ist.A DebugPanel with watch = Object.FaceExpression.value shows the current value. On the same object as the FaceTarget the component rests while no face is visible.
ErgänztExtends FaceTarget
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
expression | enum(browDownLeft | browDownRight | browInnerUp | browOuterUpLeft | browOuterUpRight | cheekPuff | cheekSquintLeft | cheekSquintRight | eyeBlinkLeft | eyeBlinkRight | eyeLookDownLeft | eyeLookDownRight | eyeLookInLeft | eyeLookInRight | eyeLookOutLeft | eyeLookOutRight | eyeLookUpLeft | eyeLookUpRight | eyeSquintLeft | eyeSquintRight | eyeWideLeft | eyeWideRight | jawForward | jawLeft | jawOpen | jawRight | mouthClose | mouthDimpleLeft | mouthDimpleRight | mouthFrownLeft | mouthFrownRight | mouthFunnel | mouthLeft | mouthLowerDownLeft | mouthLowerDownRight | mouthPressLeft | mouthPressRight | mouthPucker | mouthRight | mouthRollLower | mouthRollUpper | mouthShrugLower | mouthShrugUpper | mouthSmileLeft | mouthSmileRight | mouthStretchLeft | mouthStretchRight | mouthUpperUpLeft | mouthUpperUpRight | noseSneerLeft | noseSneerRight) = "jawOpen" | Welcher Ausdruck. Links/Left heißt die linke Seite der Person (im Spiegelbild rechts).Which expression. Left means the left side of the person (on the right in the mirror picture). |
threshold | number (0–1) = 0.5 | Ab diesem Wert gilt der Ausdruck als gezeigt. Mund weit offen ist etwa 60 %, ein Blinzeln fast 100 %.From this value on the expression counts as shown. Mouth wide open is about 60 %, a blink almost 100 %. |
calibrated | boolean = false advanced | Ruhelage abziehen: Werte relativ zum entspannten Gesicht. Aus: Rohwerte (manche Ausdrücke liegen in Ruhe schon bei 30–50 %).Subtract the resting expression: values relative to the relaxed face. Off: raw values (some expressions are already at 30–50 % at rest). |
onStart | event | Wenn der Ausdruck beginnt.When the expression starts. |
onEnd | event | Wenn der Ausdruck endet, auch wenn das Gesicht verloren geht.When the expression ends, also when the face is lost. |
Avatar-Kopf mit Mimik: überträgt die 52 Mimik-Werte des Gesichts auf die Shape Keys (Morph Targets) des Modells unter diesem Objekt, etwa jawOpen, eyeBlinkLeft, mouthSmileLeft. Das Objekt liegt unter einem FaceTarget.Avatar head with expressions: transfers the 52 expression values of the face to the shape keys (morph targets) of the model below this object, such as jawOpen, eyeBlinkLeft, mouthSmileLeft. The object lies below a FaceTarget.
Die Shape Keys müssen wie bei ARKit heißen (jawOpen, eyeBlinkLeft …); die Schreibweise mit _L/_R (eyeBlink_L) wird erkannt, ebenso Groß- und Kleinschreibung. Die Konsole meldet, wie viele zugeordnet wurden. Viele Werkzeuge (Character Creator, Ready Player Me, Blender-Add-ons) liefern genau diesen Satz.The shape keys must be named like ARKit (jawOpen, eyeBlinkLeft …); the spelling with _L/_R (eyeBlink_L) is recognized, as is upper and lower case. The console reports how many were mapped. Many tools (Character Creator, Ready Player Me, Blender add-ons) deliver exactly this set.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
fitToFace | boolean = true | Das Modell über die Augen am Gesicht ausrichten: Größe und Lage folgen aus Augenabstand und Augenmitte, die Drehung aus Unity bleibt. Gesucht werden Knoten namens eyeLeft und eyeRight, sonst werden die Augen aus der Größe des Modells geschätzt. In AR mit den Augen der Person, in der Vorschau mit dem Kopf des FaceTargets. Aus: das Modell bleibt, wie es in Unity platziert ist.Fit the model to the face by the eyes: size and position follow from eye distance and eye center, the rotation from Unity stays. Nodes named eyeLeft and eyeRight are looked for, otherwise the eyes are estimated from the size of the model. In AR with the eyes of the person, in the preview with the head of the FaceTarget. Off: the model stays as placed in Unity. |
calibrate | boolean = true | Ruhelage der Mimik abziehen: Ohne sie wirken die Lider halb geschlossen und der Mund verzogen. Gemessen in den ersten 1,5 Sekunden mit Gesicht.Subtract the resting expression: without it the lids look half closed and the mouth twisted. Measured during the first 1.5 seconds with a face. |
strength | number (0–1) = 1 advanced | Stärke der Mimik, 100 % = wie das Gesicht.Strength of the expressions, 100 % = like the face. |
rotateEyes | boolean = true advanced | Augäpfel mit dem Blick drehen: Bei ARKit-Köpfen bewegen die Shape Keys eyeLookIn/Out/Up/Down nur die Lider, die Augäpfel sind eigene Teile. Gedreht werden die Knoten eyeLeft/eyeRight (auch Eye_L, CC_Base_L_Eye), höchstens 25° zur Seite und 15° nach oben oder unten, erst nach der Ruhelage. Aus: die Augäpfel bleiben, wie sie im Modell stehen.Turn the eyeballs with the gaze: on ARKit heads the shape keys eyeLookIn/Out/Up/Down move only the lids, the eyeballs are separate parts. The nodes eyeLeft/eyeRight (also Eye_L, CC_Base_L_Eye) are turned, at most 25° to the side and 15° up or down, only after the resting expression. Off: the eyeballs stay as they are in the model. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
neutral() | Neu ausrichten und die Ruhelage der Mimik neu messen.Fit again and measure the resting expression again. |
resetExpression() | Mimik auf null setzen (Modell in Ruhe).Set all expressions to zero (model at rest). |
Das Gesicht als Anker: In AR (Frontkamera, Bild wie ein Spiegel) setzt die App dieses Objekt mit allen Kindern auf den Kopf. Die Kinder sind der Inhalt, etwa Brille, Hut, Maske oder ein Avatar-Kopf, gebaut in Metern am Kopf, den die Szene-Ansicht zeigt. Mit einem FaceTarget in der Szene startet „Start AR“ das Face-Tracking (Android und iPhone) statt der Raumerkennung.The face as anchor: in AR (front camera, picture like a mirror) the app puts this object with all its children on the head. The children are the content, such as glasses, a hat, a mask or an avatar head, built in meters on the head shown in the Scene view. With a FaceTarget in the scene, "Start AR" starts face tracking (Android and iPhone) instead of room tracking.
Lage am Kopf: Ursprung in der Mitte des Kopfes, 7,5 cm hinter der Nasenspitze auf Höhe der Nasenmitte (nicht die Kopfmitte, die liegt 2–3 cm weiter hinten), +Y oben, +Z (blauer Pfeil) aus dem Gesicht nach vorne. Die Augen liegen 2,6 cm über dem Ursprung, die Ohren etwa 7 cm seitlich. Inhalte 2–3 mm vor die Haut setzen, sonst flackern sie mit dem Verdecker. Die Größe des Objekts zählt in AR nicht: 1 Einheit = 1 Meter. Licht: ein Hauptlicht von vorn oben und weiches Umgebungslicht. Die Ruhelage der Mimik misst die App in den ersten 1,5 Sekunden mit Gesicht; dafür entspannt in die Kamera schauen.Position on the head: origin in the middle of the head, 7.5 cm behind the nose tip at the height of the middle of the nose (not the head center, which is 2–3 cm further back), +Y up, +Z (blue arrow) out of the face to the front. The eyes are 2.6 cm above the origin, the ears about 7 cm to the side. Put content 2–3 mm in front of the skin, otherwise it flickers with the occluder. The scale of the object does not count in AR: 1 unit = 1 meter. Light: one key light from the front above and soft ambient light. The app measures the resting expression during the first 1.5 seconds with a face; look relaxed into the camera.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
occluder | boolean = true | Der Kopf verdeckt in AR unsichtbar, was hinter ihm liegt: Der hintere Brillenbügel und die Rückseite eines Huts verschwinden hinter dem echten Kopf. Das macht den Unterschied zwischen „aufgeklebt“ und „echt“.In AR the head invisibly hides what lies behind it: the back temple of glasses and the back of a hat disappear behind the real head. This makes the difference between "stuck on" and "real". |
previewHead | boolean = true advanced | Den Kopf in der Vorschau im Browser halb durchsichtig zeigen, damit man sieht, wo der Inhalt sitzt.Show the head half transparent in the browser preview, so you can see where the content sits. |
holdSeconds | number = 0.5 advanced | Sekunden, die der Inhalt nach dem Verlust des Gesichts stehen bleibt, bevor er verschwindet. Verhindert Flackern bei kurzen Aussetzern.Seconds the content stays after the face is lost, before it disappears. Prevents flicker on short dropouts. |
onFound | event | Wenn ein Gesicht erkannt wurde und der Inhalt erscheint.When a face was found and the content appears. |
onLost | event | Wenn das Gesicht verloren ist (nach holdSeconds) und der Inhalt verschwindet.When the face is lost (after holdSeconds) and the content disappears. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
recalibrate() | Ruhelage der Mimik neu messen (entspannt in die Kamera schauen).Measure the resting expression again (look relaxed into the camera). |
Ein Bild als Anker: Poster, Karte, Buchseite oder Verpackung. In AR erkennt die App das Bild im Kamerabild und setzt dieses Objekt mit allen Kindern darauf. Die Kinder sind der Inhalt, gebaut in Metern relativ zur Bildmitte. Mit einem ImageTarget in der Szene startet „Start AR“ das Bild-Tracking (Android und iPhone) statt der Raumerkennung.An image as anchor: poster, map, book page or packaging. In AR the app finds the image in the camera picture and puts this object with all its children on it. The children are the content, built in meters relative to the image center. With an ImageTarget in the scene, "Start AR" starts image tracking (Android and iPhone) instead of room tracking.
Gute Bilder haben viel unregelmäßige Struktur und Kontrast in Graustufen (Fotos, Illustrationen); schlecht sind große einfarbige Flächen, Verläufe, Logos auf Weiß, Wiederholmuster und spiegelsymmetrische Motive. Matt drucken, ab A5, eben aufhängen. Erkannt wird ab etwa 1,5-facher bis 6-facher Bildbreite Abstand. In Unity zeigt die Szene-Ansicht das Bild in Originalgröße am Objekt: Inhalte darauf stellen. Alles, was in AR zu sehen sein soll, gehört unter ein ImageTarget (oder moves = scene).Good images have lots of irregular structure and contrast in grayscale (photos, illustrations); bad are large single-color areas, gradients, logos on white, repeating patterns and mirror-symmetric motifs. Print matte, A5 or larger, hang it flat. Detection works from about 1.5 to 6 times the image width away. In Unity the Scene view shows the image at real size on the object: put the content on it. Everything that should be visible in AR belongs under an ImageTarget (or moves = scene).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
image | asset<image> | Das Bild, PNG oder JPG, einfach hineinziehen, in voller Auflösung. Die App übersetzt es beim Start (rund 20 ms) und meldet in der Konsole, wie gut es sich eignet.The image, PNG or JPG, just drag it in, at full resolution. The app compiles it at start (about 20 ms) and reports in the console how well it is suited. |
widthMeters | number = 0.2 | Breite des gedruckten Bilds in Metern, nachmessen. Daraus folgt der Maßstab: Stimmt sie nicht, sind die Inhalte zu groß oder zu klein und schweben.Width of the printed image in meters, measure it. It sets the scale: if it is wrong, the content is too big or too small and floats. |
layout | enum(upright | flat) = "upright" | Wie das Bild im Objekt liegt; der Betrachter steht auf der Seite, in die der blaue Pfeil (+Z) zeigt. upright = stehend in der XY-Ebene wie ein Poster an der Wand (Oberkante +Y, Inhalte kommen nach +Z heraus). flat = liegend in der XZ-Ebene wie auf einem Tisch (Inhalte stehen nach +Y, Unterkante des Bilds zum Betrachter).How the image lies in the object; the viewer stands on the side the blue arrow (+Z) points to. upright = standing in the XY plane like a poster on a wall (top edge +Y, content comes out along +Z). flat = lying in the XZ plane like on a table (content stands along +Y, bottom edge of the image toward the viewer). |
moves | enum(target | scene) = "target" | target = nur dieses Objekt folgt dem Bild (mehrere Bilder mit eigenem Inhalt). scene = die ganze Szene wird so gesetzt, dass dieses Objekt auf dem Bild liegt (das Bild als Startpunkt).target = only this object follows the image (several images with their own content). scene = the whole scene is placed so that this object lies on the image (the image as starting point). |
holdSeconds | number = 0.5 advanced | Sekunden, die der Inhalt nach dem Verlust des Bilds stehen bleibt, bevor er verschwindet. Verhindert Flackern bei kurzen Aussetzern.Seconds the content stays after the image is lost, before it disappears. Prevents flicker on short dropouts. |
onFound | event | Wenn das Bild erkannt wurde und der Inhalt erscheint.When the image was found and the content appears. |
onLost | event | Wenn das Bild verloren ist (nach holdSeconds) und der Inhalt verschwindet.When the image is lost (after holdSeconds) and the content disappears. |
Verdecker: Das Objekt wird selbst nicht gezeichnet, verdeckt aber alles, was hinter ihm liegt. In AR steht es für einen echten Gegenstand (Wand, Tisch, Säule, Sockel, Vitrine): Inhalte verschwinden dahinter, als stünden sie wirklich im Raum.Occluder: the object itself is not drawn but hides everything behind it. In AR it stands for a real thing (wall, table, pillar, plinth, showcase): content disappears behind it as if it really stood in the room.
Die Form ist das Mesh des Objekts samt Kindern; ein grob nachgebauter Quader oder Zylinder in echter Größe reicht. Der Verdecker muss dort stehen, wo der echte Gegenstand steht: an einem ImageTarget oder CylinderTarget passt das von selbst, bei frei platzierten Szenen richtet der Besucher die Szene am Gegenstand aus. Verdecker werfen und empfangen keine Schatten; nicht zusammen mit ShadowCatcher am selben Objekt. Für Gesichter bringt FaceTarget den Kopf als Verdecker schon mit.The shape is the mesh of the object and its children; a roughly rebuilt box or cylinder in real size is enough. The occluder has to stand where the real thing stands: on an ImageTarget or CylinderTarget that fits by itself, with freely placed scenes the visitor aligns the scene with the thing. Occluders neither cast nor receive shadows; do not combine with ShadowCatcher on the same object. For faces, FaceTarget already brings the head as an occluder.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
preview | enum(ghost | hidden | occlude) = "ghost" | Darstellung ohne Kamerabild (Vorschau, VR): ghost = halb durchsichtig, damit man sieht, wo der Verdecker steht; hidden = nicht gezeichnet; occlude = verdeckt auch dort (schneidet Löcher ins Bild).Look without a camera picture (preview, VR): ghost = half transparent, so you see where the occluder stands; hidden = not drawn; occlude = hides there too (cuts holes into the picture). |
previewColor | color = "#39c5ff" advanced | Farbe der halb durchsichtigen Darstellung in der Vorschau.Color of the half transparent look in the preview. |
startOn | boolean = true | Beim Start eingeschaltet. Aus: Das Objekt sieht aus wie exportiert, bis turnOn gerufen wird.Switched on at start. Off: the object looks as exported until turnOn is called. |
sync | boolean = true | An und Aus gilt für alle im Raum, auch für alle, die später kommen.On and off applies to everyone in the room, also to whoever joins later. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
turnOn() | Verdecken einschalten.Switch occluding on. |
turnOff() | Verdecken ausschalten: Das Objekt sieht aus wie exportiert.Switch occluding off: the object looks as exported. |
toggle() | Verdecken ein- oder ausschalten.Switch occluding on or off. |
AR Quick Look (USDZ) auf iPhone und iPad: die zweite Art, die Szene in AR zu zeigen. Apples eigener Betrachter steht ruhig auf dem Boden, fragt nicht nach der Kamera und läuft auch auf älteren Geräten, kennt aber keine Interaktion. Die Szene kommt so mit, wie sie gerade aussieht.AR Quick Look (USDZ) on iPhone and iPad: the second way to show the scene in AR. Apple’s own viewer stands steady on the floor, does not ask for the camera and runs on older devices too, but has no interaction. The scene goes along as it looks right now.
Ohne diese Komponente gilt offer auto mit den Standardwerten. Mitgenommen wird, was sichtbar ist, wie in AR (ModeFlag). Was Quick Look nicht kennt, fällt weg: eigene Shader, Schattenfänger, Verdecker, Partikel, Linien, 3D-Text, Punktwolken und Splats, dazu Objekte ganz unter dem Boden (Quick Look stellt die Unterkante der Szene auf den Boden); Figuren erscheinen in ihrer jetzigen Pose. Am Rechner lädt ?quicklook=download in der Adresse die Datei zum Prüfen herunter.Without this component offer auto applies with the default values. What is visible goes along, as in AR (ModeFlag). What Quick Look does not know is left out: custom shaders, shadow catchers, occluders, particles, lines, 3D text, point clouds and splats, and objects entirely below the floor (Quick Look stands the bottom of the scene on the floor); figures appear in their current pose. On the computer, ?quicklook=download in the address downloads the file for checking.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
offer | enum(auto | always | startAr | off) = "auto" | auto: Knopf „AR Quick Look“ neben „Start AR“, nur auf Geräten, die Quick Look können, und nicht in Szenen mit Bild-, Dosen- oder Gesichts-Tracking. always: auch dort. startAr: „Start AR“ öffnet auf Apple-Geräten Quick Look statt der Raumverfolgung. off: nie.auto: an "AR Quick Look" button next to "Start AR", only on devices that can do Quick Look, and not in scenes with image, can or face tracking. always: there too. startAr: on Apple devices "Start AR" opens Quick Look instead of room tracking. off: never. |
file | asset<usdz> | Eigene USDZ-Datei (z. B. aus Reality Composer oder Reality Converter), mit eigenen Animationen und Verhalten. Leer: Die App erzeugt die Datei beim Antippen aus der Szene.Your own USDZ file (e.g. from Reality Composer or Reality Converter), with its own animations and behaviors. Empty: the app makes the file from the scene when tapped. |
buttonLabel | string = "" | Beschriftung des Knopfs. Leer: „AR Quick Look“ (bei startAr: „Start AR“).Label of the button. Empty: "AR Quick Look" ("Start AR" with startAr). |
placement | enum(floor | wall | any) = "floor" | Worauf Quick Look die Szene stellt: Boden (floor), Wand (wall, z. B. ein Bild) oder beides (any).Where Quick Look puts the scene: floor, wall (e.g. a picture) or either (any). |
allowScaling | boolean = true | Besucher dürfen die Größe mit zwei Fingern ändern. Aus: immer in echter Größe (für Möbel und Produkte).Visitors may change the size with two fingers. Off: always true to size (for furniture and products). |
clip | clip | Animationsclip, der in Quick Look als Schleife läuft. Nur Bewegung, Drehung und Größe von Objekten, keine Figuren mit Skelett. Leer: still.Animation clip that loops in Quick Look. Only movement, rotation and size of objects, no figures with a skeleton. Empty: still. |
scale | number = 0 advanced | Größe in Quick Look (0,01 = Maßstab 1:100). 0: wie in AR mit AR Viewpoint, ohne ihn Originalgröße.Size in Quick Look (0.01 = scale 1:100). 0: as in AR with an AR Viewpoint, original size without one. |
textureSize | number = 1024 advanced | Längste Seite der Texturen in Pixeln. Kleiner = schneller bereit und kleinere Datei.Longest side of the textures in pixels. Smaller = ready sooner and a smaller file. |
bannerTitle | string = "" | Banner unten in Quick Look, z. B. Name des Exponats oder Produkts. Leer: kein Banner.Banner at the bottom of Quick Look, e.g. name of the exhibit or product. Empty: no banner. |
bannerSubtitle | string = "" | Zweite Zeile im Banner, z. B. Preis oder Herkunft.Second line in the banner, e.g. price or origin. |
bannerButton | string = "" | Knopf rechts im Banner, z. B. „Mehr erfahren“. Leer: ohne Knopf.Button on the right of the banner, e.g. "Learn more". Empty: no button. |
onBannerTap | event | Wenn der Knopf im Banner getippt wird. Quick Look bleibt offen; was die Aufrufe tun (z. B. TapLink), geschieht dahinter auf der Seite.When the banner button is tapped. Quick Look stays open; what the calls do (e.g. TapLink) happens behind it on the page. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
open() | Quick Look öffnen (nur aus einem Klick oder Tipp, nur auf Apple-Geräten).Open Quick Look (only from a click or tap, only on Apple devices). |
Markiert Flächen, auf die man sich in VR teleportieren darf: Boden, Podeste, Treppen. Alle Meshes des Objekts samt Kindern zählen.Marks surfaces you may teleport onto in VR: floor, podiums, stairs. All meshes of the object and its children count.
Teleportiert wird mit der Griff-Taste des Controllers: halten zeigt das Ziel, loslassen springt. Ohne TeleportTarget in der Szene gibt es keinen Teleport.Teleport with the grip button of the controller: hold to show the target, release to jump. Without a TeleportTarget in the scene there is no teleport.
Fortbewegung in VR: Gehen mit dem linken Stick, Drehen mit dem rechten, Teleport mit Bogen und kurzem Abdunkeln, Hände bei Hand-Tracking. Ohne die Komponente gelten dieselben Standardwerte.Movement in VR: walk with the left stick, turn with the right one, teleport with an arc and a short fade, hands with hand tracking. Without the component the same defaults apply.
Teleport braucht TeleportTarget-Flächen. Controller erscheinen als schlichtes Modell ohne Datei, die App lädt keine Modelle von fremden Servern.Teleport needs TeleportTarget surfaces. Controllers appear as a simple model without a file; the app loads no models from other servers.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
moveSpeed | number = 1.5 | Gehen mit dem linken Stick in Metern je Sekunde; 0 = aus (nur Teleport).Walking with the left stick in meters per second; 0 = off (teleport only). |
turn | enum(snap | smooth | off) = "snap" | Drehen mit dem rechten Stick: snap in Schritten (den meisten wird davon nicht übel), smooth gleitend, off aus.Turning with the right stick: snap in steps (comfortable for most people), smooth gliding, off. |
snapAngle | number = 30 advanced | Schrittweite beim Drehen in Grad.Step size when turning, in degrees. |
turnSpeed | number = 90 advanced | Gleitendes Drehen in Grad je Sekunde.Smooth turning in degrees per second. |
stayOnFloor | boolean = true advanced | Nur auf Teleport-Flächen gehen und ihrer Höhe folgen (Stufen bis 35 cm). Ohne Teleport-Flächen in der Szene geht man frei.Walk only on teleport surfaces and follow their height (steps up to 35 cm). Without teleport surfaces in the scene you walk freely. |
teleportArc | boolean = true | Teleport als Bogen wie ein geworfener Ball: reicht über Kanten und auf Podeste. Aus: gerader Strahl.Teleport as an arc like a thrown ball: reaches over edges and onto platforms. Off: straight ray. |
fade | boolean = true | Beim Teleport kurz abdunkeln (Sprünge ohne Abdunkeln machen manchen übel).Fade briefly when teleporting (jumps without a fade make some people feel sick). |
showHands | boolean = true advanced | Hände bei Hand-Tracking als Gelenk-Kugeln zeigen. Kneifen wählt aus wie der Auslöser.Show hands with hand tracking as joint spheres. Pinching selects like the trigger. |
Startpunkt für VR: der Besucher steht beim Start an dieser Stelle und blickt entlang der -Z-Achse des Objekts (in Unity entgegen dem blauen Pfeil).Start point for VR: the visitor starts at this spot, looking along the -Z axis of the object (in Unity against the blue arrow).
Ohne VrSpawn steht der Besucher 2 m vor dem Nullpunkt (+Z-Seite) und schaut darauf. In der Szene-Ansicht zeigt eine Figur mit Brille, wohin er blickt.Without a VrSpawn the visitor stands 2 m in front of the origin (+Z side), looking at it. In the Scene view a figure with a headset shows where they look.
MehrspielerMultiplayer
Startplatz für Figuren mit SharedPlayer (One Per Visitor): Die Figur steht an der Stelle dieses Objekts und blickt entlang seiner +Z-Achse (in Unity der blaue Pfeil). Ein leeres Objekt je Platz.Start place for figures with SharedPlayer (One Per Visitor): the figure stands at the position of this object and looks along its +Z axis (in Unity the blue arrow). One empty object per place.
Kommen mehr Besucher, als es Startplätze gibt, verteilt SharedPlayer die übrigen nach „Layout“ um die Stelle der Figur.If more visitors come than there are start places, SharedPlayer spreads the others by "Layout" around the position of the figure.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
order | number = 0 | Reihenfolge: Der erste Besucher bekommt den Platz mit der kleinsten Zahl, der zweite den nächsten. Bei gleicher Zahl nach dem Namen.Order: the first visitor gets the place with the lowest number, the second the next. With equal numbers by name. |
figure | node advanced | Nur für diese Figur. Leer: für jede Figur mit SharedPlayer.For this figure only. Empty: for every figure with SharedPlayer. |
Zeigt die anderen Teilnehmer als Avatar dort, von wo aus sie die Szene sehen: am Bildschirm, mit dem Handy in AR oder mit der VR-Brille. Jeder bekommt eine eigene Farbe.Shows the other participants as avatars where they view the scene from: on screen, with a phone in AR or with a VR headset. Each gets their own color.
In AR stellt jeder die Szene im eigenen Raum auf; die Avatare stehen relativ zur Szene. Vor dem Platzieren ist man für die anderen unsichtbar.In AR everyone places the scene in their own room; avatars stand relative to the scene. Before placing, you are invisible to the others.
ErgänztExtends SharedRoom
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
avatar | node | Eigenes Modell als Avatar, wird je Teilnehmer kopiert, das Original ist unsichtbar. Vorne ist die −Z-Seite (Blickrichtung). Leer: eingebauter Kopf mit Visier.Own model as avatar, copied per participant, the original stays invisible. The front is the −Z side (view direction). Empty: built-in head with visor. |
sendRate | number = 10 | Updates der eigenen Position pro Sekunde.Updates of the own position per second. |
Macht die Figur zur Spielfigur im gemeinsamen Raum. „One For All“: alle sehen und steuern dieselbe Figur. „One Per Visitor“: jeder Besucher bekommt seine eigene Figur auf einem eigenen Platz und steuert nur sie; die Figuren der anderen zeigen, was deren Besitzer tun.Turns the figure into a player figure in the shared room. "One For All": everyone sees and controls the same figure. "One Per Visitor": every visitor gets their own figure on their own place and controls only that one; the figures of the others show what their owners do.
Braucht einen SharedRoom (Mabino → Add Multiplayer). Ohne Verbindung steht die Figur, wo sie in der Szene steht. Jede Figur hat ein eigenes Skelett: für eine Handvoll Besucher gedacht, nicht für dreißig. Jeder offene Tab zählt als Besucher; für ein Spiel zu zweit am besten „Random Room“ am SharedRoom einschalten und den Link teilen. Die Figuren bleiben an ihrem Platz.Needs a SharedRoom (Mabino → Add Multiplayer). Without a connection the figure stands where it stands in the scene. Every figure has its own skeleton: meant for a handful of visitors, not for thirty. Every open tab counts as a visitor; for a game for two, switch on "Random Room" on the SharedRoom and share the link. The figures stay on their places.
ErgänztExtends Animator, Animation
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
mode | enum(oneForAll | onePerVisitor) = "oneForAll" | oneForAll: eine Figur für alle, jeder kann sie über die Knöpfe steuern (wie ohne diese Komponente). onePerVisitor: jeder Besucher hat seine eigene Figur; Knöpfe, EventLists und Skripte wirken nur auf die eigene.oneForAll: one figure for all, everyone can control it with the buttons (as without this component). onePerVisitor: every visitor has their own figure; buttons, EventLists and scripts act on their own figure only. |
layout | enum(row | circle) = "row" | Wie die Figuren stehen, wenn es keine Startplätze (PlayerSpawn) gibt. row: nebeneinander, alle blicken wie die Figur der Szene; der Erste steht an ihrer Stelle. circle: im Kreis um die Stelle der Figur, alle blicken zur Mitte; die ersten beiden stehen links und rechts und sehen sich an, die Kamera der Szene zeigt beide von der Seite.How the figures stand when there are no start places (PlayerSpawn). row: side by side, all facing like the figure of the scene; the first stands in its place. circle: in a circle around the place of the figure, all facing the center; the first two stand left and right facing each other, the camera of the scene shows both from the side. |
spacing | number = 1.2 | Abstand der Plätze in Metern. Im Kreis ist das der Radius: zwei Figuren stehen sich im doppelten Abstand gegenüber.Distance between places in meters. In a circle this is the radius: two figures face each other at twice the distance. |
maxPlayers | number = 8 advanced | Höchstens so viele Figuren. Weitere Besucher schauen zu, bis ein Platz frei wird.At most this many figures. Further visitors watch until a place becomes free. |
cameraFollows | boolean = true advanced | In der Vorschau wandert der Blick mit dem eigenen Platz (Layout row und Startplätze): Jeder Besucher sieht seine eigene Figur so, wie die Kamera der Szene die Figur zeigt, die anderen daneben. Aus: alle sehen die Szene vom selben Standpunkt. Im Kreis sehen immer alle die Runde aus der Kamera der Szene. In AR und VR ohne Wirkung.In the preview the view moves with your own place (layout row and start places): every visitor sees their own figure the way the camera of the scene shows the figure, the others beside it. Off: everyone sees the scene from the same viewpoint. In a circle everyone always sees the round from the camera of the scene. No effect in AR and VR. |
awayAfter | number = 20 advanced | Sekunden, nach denen eine Seite im Hintergrund (anderer Tab, gesperrtes Handy) ihre Figur abgibt; kommt die Seite wieder nach vorn, spielt sie auf einem freien Platz weiter. 0: die Figur bleibt, solange die Seite offen ist.Seconds after which a page in the background (another tab, locked phone) gives up its figure; when the page comes back to the front, it plays on with a free place. 0: the figure stays as long as the page is open. |
Macht die Szene zum gemeinsamen Raum: Alle Geräte im selben Raum sehen dieselben Bewegungen, Schaltzustände und einander als Avatar. Einmal pro Szene, z.B. am Objekt Multiplayer.Turns the scene into a shared room: all devices in the same room see the same movements, switch states and each other as avatars. Once per scene, e.g. on the Multiplayer object.
Zum Ausprobieren: Mabino > Play, dann den QR-Code mit einem Handy scannen; beide sind im selben Raum. Oben zeigt die App den Raum und die Zahl der Teilnehmer, ein Tipp darauf teilt den Link. Ohne Verbindung läuft die Szene für jeden allein weiter.To try it: Mabino > Play, then scan the QR code with a phone; both are in the same room. The app shows the room and the number of people at the top, tapping it shares the link. Without a connection the scene keeps running for each device alone.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
roomName | string = "" | Fester Raumname. Leer: alle, die dieselbe Seite öffnen, sind im selben Raum (Standardraum der Seite).Fixed room name. Empty: everyone who opens the same page is in the same room (the page's default room). |
urlParameter | string = "room" | Name des Parameters in der Adresse, der den Raum wählt (…?room=abc). Er hat Vorrang vor dem festen Namen. Leer: die Adresse wird nicht ausgewertet.Name of the address parameter that selects the room (…?room=abc). It takes precedence over the fixed name. Empty: the address is not used. |
randomRoom | boolean = false | Wer ohne Raum in der Adresse kommt, bekommt einen neuen privaten Raum; der Link dazu (Tipp auf die Raumanzeige) lädt andere ein. Für Führungen in kleinen Gruppen statt eines Raums für alle.Whoever arrives without a room in the address gets a new private room; its link (tap the room display) invites others. For tours in small groups instead of one room for everyone. |
server | string = "" | Adresse des Relay-Servers (wss://…). Leer: der Server, von dem die Seite kommt. Beim Testen aus Unity (Mabino > Play) läuft der Relay dort schon mit.Address of the relay server (wss://…). Empty: the server the page comes from. When testing from Unity (Mabino > Play) the relay already runs there. |
iceServers | string = "" | STUN/TURN-Server für geteilte Kamerabilder über das Internet, durch Leerzeichen getrennt: stun:host:3478 oder turn:host:3478|nutzer|passwort. Leer: geteilte Bilder nur im selben WLAN, ohne fremde Server.STUN/TURN servers for shared camera images over the internet, separated by spaces: stun:host:3478 or turn:host:3478|user|password. Empty: shared images only within the same Wi-Fi, without third-party servers. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
join() | Raum (erneut) betreten.Join the room (again). |
leave() | Raum verlassen.Leave the room. |
Teilt Position, Drehung und Größe des Objekts mit allen im Raum. Wer es bewegt (Ziehen, TapTransform, eigener Code), übernimmt es; die anderen sehen die Bewegung weich nachgeführt.Shares the position, rotation and scale of the object with everyone in the room. Whoever moves it (dragging, TapTransform, own code) takes it over; the others see the movement smoothly.
Typisch zusammen mit DragControls. Nicht mit Rotate kombinieren: Rotate dreht ohnehin auf jedem Gerät, gesendet wird dann nur unnötig. Der Objektname muss in der Szene eindeutig sein, er ist der Schlüssel im Raum.Typically used together with DragControls. Do not combine with Rotate: Rotate already turns on every device, sending would only waste bandwidth. The object name must be unique in the scene, it is the key in the room.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
sendRate | number = 15 | Updates pro Sekunde, solange sich das Objekt bewegt.Updates per second while the object moves. |
interpolate | boolean = true | Bei den anderen weich nachführen statt in Sprüngen.Move smoothly on the other devices instead of jumping. |
releaseAfter | number = 1 | Sekunden ohne Bewegung, nach denen andere das Objekt wieder bewegen dürfen. So lange ist es für sie gesperrt.Seconds without movement after which others may move the object again. Until then it is locked for them. |
Teilt die Sichtbarkeit des Objekts: Blendet es jemand ein oder aus (TapVisibility, SpatialTrigger, eigener Code), ist es bei allen im Raum so. Auf das Objekt legen, das geschaltet wird.Shares the visibility of the object: if someone shows or hides it (TapVisibility, SpatialTrigger, own code), it is the same for everyone in the room. Put it on the object that is switched.
Wer später dazukommt, sieht den aktuellen Stand. Nicht zusammen mit ModeFlag am selben Objekt verwenden: Der Modus (Vorschau, AR, VR) ist je Gerät verschieden und soll nicht geteilt werden.Whoever joins later sees the current state. Do not use together with ModeFlag on the same object: the mode (preview, AR, VR) differs per device and should not be shared.
Sprache im gemeinsamen Raum: Wer sein Mikrofon einschaltet, ist für alle im Raum zu hören, auf Wunsch räumlich vom eigenen Avatar aus. Oben in der App erscheint dafür ein Mikrofon-Knopf. Einmal pro Szene, z.B. am Objekt Multiplayer.Voice chat in the shared room: whoever switches their microphone on is heard by everyone in the room, optionally from their own avatar. A microphone button appears at the top of the app for this. Once per scene, e.g. on the Multiplayer object.
Der Ton geht direkt von Gerät zu Gerät (WebRTC), ohne STUN/TURN-Server nur im selben WLAN. Mehrere Geräte im selben echten Raum können pfeifen: dann Kopfhörer nutzen. Wer spricht, dessen Avatar wird etwas größer. Browser spielen Ton erst nach einem ersten Tipp auf die Seite ab.The sound goes directly from device to device (WebRTC), without a STUN/TURN server only within the same Wi-Fi. Several devices in the same physical room can cause feedback: then use headphones. Whoever speaks, their avatar grows a little. Browsers only play sound after a first tap on the page.
ErgänztExtends SharedRoom
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
startMuted | boolean = true | Beim Betreten stumm. Das Mikrofon öffnet sich erst, wenn man es einschaltet, und erst dann fragt der Browser nach der Erlaubnis. Empfohlen, damit niemand unbemerkt ein offenes Mikrofon hat.Muted when entering. The microphone only opens when switched on, and only then does the browser ask for permission. Recommended, so nobody has an open microphone without noticing. |
pushToTalk | boolean = false | Sprechen nur, solange der Mikrofon-Knopf gehalten wird (am Rechner auch die Leertaste). Gut für große Gruppen und laute Umgebungen.Talk only while the microphone button is held (on a computer also the space bar). Good for large groups and noisy places. |
spatial | boolean = true | Stimmen kommen vom Avatar des Sprechers und werden mit dem Abstand leiser (braucht SharedAvatars). Aus: alle gleich laut wie im Telefonat.Voices come from the speaker's avatar and get quieter with distance (needs SharedAvatars). Off: everyone equally loud, like a phone call. |
volume | number = 1 | Lautstärke der anderen (1 = unverändert).Volume of the others (1 = unchanged). |
refDistance | number = 1 | Raumklang: bis zu diesem Abstand in Metern volle Lautstärke.Spatial sound: full volume up to this distance in meters. |
maxDistance | number = 20 | Raumklang: ab diesem Abstand in Metern wird es nicht mehr leiser.Spatial sound: beyond this distance in meters it gets no quieter. |
duckScene | number = 0 advanced | Solange jemand spricht, werden Musik und Töne der Szene um diesen Anteil leiser (0 = gar nicht, 0,6 = auf 40 %), damit man die Stimme versteht.While someone speaks, music and sounds of the scene get quieter by this share (0 = not at all, 0.6 = down to 40 %) so the voice can be understood. |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
unmute() | Mikrofon an (öffnet es beim ersten Mal).Microphone on (opens it the first time). |
mute() | Mikrofon stumm.Mute the microphone. |
toggle() | Mikrofon umschalten.Toggle the microphone. |
WerkzeugeUtility
Testknöpfe für die Funktionen der Komponenten: Für jede dokumentierte Aktion (Animation.play, WebcamScreen.toggle …) erscheint ein Knopf im Menü. Zum Ausprobieren während der Arbeit; im ausgelieferten Stand fehlen die Knöpfe. Die Liste der Aktionen schreibt der Export als actions.md neben das Manifest.Test buttons for the functions of the components: for every documented action (Animation.play, WebcamScreen.toggle …) a button appears in the menu. For trying things out while working; in the delivered build the buttons are gone. The list of actions is written by the export as actions.md next to the manifest.
Der Gestalter der Seite baut die echten Knöpfe aus actions.md: als MenuButton in Unity, als HtmlTrigger auf eigene Seitenelemente oder per window.mabino.call. Eigene Komponenten tragen ihre Aktionen in der Hilfe unter actions ein.The page designer builds the real buttons from actions.md: as MenuButton in Unity, as HtmlTrigger on their own page elements or via window.mabino.call. Custom components list their actions in the help under actions.
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
showButtons | boolean = true | Knöpfe anzeigen. Sichtbar im Entwicklungsserver (Mabino > Play) und sonst nur mit ?debug in der Adresse.Show the buttons. Visible in the development server (Mabino > Play) and otherwise only with ?debug in the address. |
scope | enum(thisObject | wholeScene) = "thisObject" | thisObject: die Komponenten dieses Objekts. wholeScene: alle Komponenten der Szene (ein Objekt reicht).thisObject: the components of this object. wholeScene: all components of the scene (one object is enough). |
alwaysShow | boolean = false | Auch im ausgelieferten Stand zeigen. Nur für Vorführungen, nicht für Besucher.Show in the delivered build too. Only for demonstrations, not for visitors. |
Ein Feld mit Live-Werten für die Entwicklung: Bilder pro Sekunde, Modus, Kamera, Raum und beliebige Eigenschaften von Komponenten, z.B. Story.Timeline.time. Mit editable werden Zahlen und Schalter zu Eingabefeldern zum Ausprobieren. Im ausgelieferten Stand nicht zu sehen.A box with live values for development: frames per second, mode, camera, room and any property of components, e.g. Story.Timeline.time. With editable, numbers and switches become input fields for trying things out. Not visible in the delivered build.
Sichtbar im Entwicklungsserver (Mabino > Play) und sonst nur mit ?debug in der Adresse. Namen und Typen der Komponenten stehen in actions.md und in der Hilfe; Eigenschaften sind die Felder der Komponenten (Kleinschreibung wie im Inspector).Visible in the development server (Mabino > Play) and otherwise only with ?debug in the address. Names and types of the components are in actions.md and in the help; properties are the component fields (lowercase as in the inspector).
| FeldField | Typ = StandardType = default | BeschreibungDescription |
|---|
watch | string = "" | Eine Größe je Zeile oder durch Komma getrennt: Objekt.Komponente.eigenschaft.One value per line or separated by commas: Object.Component.property. |
showFps | boolean = true | Bilder pro Sekunde zeigen.Show frames per second. |
showCamera | boolean = true | Modus (Vorschau, AR, VR) und Kameraposition zeigen.Show mode (preview, AR, VR) and camera position. |
showRoom | boolean = true | Raum und Teilnehmerzahl zeigen, wenn die Szene in einem Raum ist.Show room and head count when the scene is in a room. |
showVersion | boolean = true | Version der App und eingebauten SLAM-Stand zeigen (Build, Zweig und Commit im SLAM-Repo), damit beim Testen klar ist, was läuft.Show the app version and the built-in SLAM state (build, branch and commit in the SLAM repo), so it is clear what is running while testing. |
editable | boolean = false | Zahlen und Schalter der beobachteten Größen als Eingabefelder, zum Ausprobieren.Numbers and switches of the watched values as input fields, for trying things out. |
startOpen | boolean = true | Aufgeklappt beginnen.Start opened. |
corner | enum(bottomLeft | topLeft | topRight | bottomRight) = "topLeft" | Ecke des Feldes.Corner of the box. |
interval | number = 0.25 | Sekunden zwischen zwei Aktualisierungen.Seconds between two updates. |
alwaysShow | boolean = false | Auch im ausgelieferten Stand zeigen (nur für Vorführungen).Show in the delivered build too (only for demonstrations). |
Aktionen (Knöpfe, EventLists, mabino.call)Actions (buttons, EventLists, mabino.call)
setOpen() | Auf- oder zuklappen (ja/nein).Open or close (yes/no). |