LocationPuck3D class
3D location puck configuration.
Constructors
-
LocationPuck3D({String? modelUri, List<
double?> ? position, double? modelOpacity, List<double?> ? modelScale, String? modelScaleExpression, List<double?> ? modelTranslation, List<double?> ? modelRotation, bool? modelCastShadows, bool? modelReceiveShadows, ModelScaleMode? modelScaleMode, double? modelEmissiveStrength, String? modelEmissiveStrengthExpression, ModelElevationReference? modelElevationReference})
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- modelCastShadows ↔ bool?
-
Enable/Disable shadow casting for the 3D location puck.
getter/setter pair
- modelElevationReference ↔ ModelElevationReference?
-
Selects the base of the model.
getter/setter pair
- modelEmissiveStrength ↔ double?
-
Strength of the emission.
getter/setter pair
- modelEmissiveStrengthExpression ↔ String?
-
The emissive strength expression of the model.
getter/setter pair
- modelOpacity ↔ double?
-
The opacity of the model.
getter/setter pair
- modelReceiveShadows ↔ bool?
-
Enable/Disable shadow receiving for the 3D location puck.
getter/setter pair
-
modelRotation
↔ List<
double?> ? -
The rotation of the model.
getter/setter pair
-
modelScale
↔ List<
double?> ? -
The scale of the model.
getter/setter pair
- modelScaleExpression ↔ String?
-
The scale expression of the model.
getter/setter pair
- modelScaleMode ↔ ModelScaleMode?
-
Defines scaling mode. Only applies to location-indicator type layers.
getter/setter pair
-
modelTranslation
↔ List<
double?> ? -
The translation of the model
lon, lat, z.getter/setter pair - modelUri ↔ String?
-
An URL for the model file in gltf format.
getter/setter pair
-
position
↔ List<
double?> ? -
The position of the model.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
) → Object -
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.
override
Static Methods
-
decode(
Object result) → LocationPuck3D