LocationPuck3D class

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})

Properties

hashCode int
The hash code for this object.
no setterinherited
modelCastShadows bool?
Enable/Disable shadow casting for the 3D location puck.
getter/setter pair
modelEmissiveStrength double?
Strength of the emission. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors).
getter/setter pair
modelEmissiveStrengthExpression String?
Strength of the emission as Expression string, note that when modelEmissiveStrengthExpression is specified, it will overwrite the modelEmissiveStrength property. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors).
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, which will overwrite the default scale expression that keeps the model size constant during zoom.
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.
inherited

Static Methods

decode(Object result) LocationPuck3D