ARNode constructor
ARNode({})
Implementation
ARNode({
required this.type,
required this.uri,
String? name,
Vector3? position,
Vector3? scale,
Vector4? rotation,
Vector3? eulerAngles,
Matrix4? transformation,
Map<String, dynamic>? data,
}) : name = name ?? UniqueKey().toString(),
transformNotifier = ValueNotifier(
createTransformMatrix(
transformation,
position,
scale,
rotation,
eulerAngles,
),
),
data = data ?? null;