UArPlaceable class

Something the user can put into the world.

Constructors

UArPlaceable({required String id, required String title, UArSource? source, UArSource? iosSource, Widget? thumbnail, double? fitSize, UArSurface surface = UArSurface.any, int maxCount = 0, UArNode builder(String nodeId)?, Map<String, Object?> data = const <String, Object?>{}})
const

Properties

builder → UArNode Function(String nodeId)?
Builds a custom node instead of loading source (primitives, groups, widget cards).
final
data → Map<String, Object?>
final
fitSize → double?
Largest side in metres; null keeps the model's true (real-world) size.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
iosSource → UArSource?
final
maxCount → int
How many copies can be placed; 0 is unlimited.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → UArSource?
final
surface → UArSurface
final
thumbnail → Widget?
final
title → String
final

Methods

build(String nodeId) → UArNode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited