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.
read-onlyinherited
- modelCastShadows ↔ bool?
-
Enable/Disable shadow casting for the 3D location puck.
read / write
- 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).
read / write
- 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).
read / write
- modelOpacity ↔ double?
-
The opacity of the model.
read / write
- modelReceiveShadows ↔ bool?
-
Enable/Disable shadow receiving for the 3D location puck.
read / write
-
modelRotation
↔ List<
double?> ? -
The rotation of the model.
read / write
-
modelScale
↔ List<
double?> ? -
The scale of the model.
read / write
- modelScaleExpression ↔ String?
-
The scale expression of the model, which will overwrite the default scale expression that keeps the model size constant during zoom.
read / write
- modelScaleMode ↔ ModelScaleMode?
-
Defines scaling mode. Only applies to location-indicator type layers.
read / write
-
modelTranslation
↔ List<
double?> ? -
The translation of the model
lon, lat, zread / write - modelUri ↔ String?
-
An URL for the model file in gltf format.
read / write
-
position
↔ List<
double?> ? -
The position of the model.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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