SpatialPanel constructor
SpatialPanel({
- String name = 'panel',
- required CameraRig cameraRig,
- double panelWidth = 1.0,
- double panelHeight = 0.6,
- Color backgroundColor = const Color(0xE0161B22),
- Color borderColor = const Color(0xFF30363D),
- double borderWidth = 1,
- double cornerRadius = 8,
- double opacity = 1.0,
- void onRenderContent()?,
- bool lockY = true,
Implementation
SpatialPanel({
super.name = 'panel',
required super.cameraRig,
this.panelWidth = 1.0,
this.panelHeight = 0.6,
this.backgroundColor = const Color(0xE0161B22),
this.borderColor = const Color(0xFF30363D),
this.borderWidth = 1,
this.cornerRadius = 8,
this.opacity = 1.0,
this.onRenderContent,
super.lockY = true,
});