PositionIndicatorMeshRepresentation class abstract
Mesh-based visual representation of a PositionIndicator: geometry, texture, color and lighting.
Attach it to a PositionIndicator via setRepresentation.
- Implemented types
Constructors
- PositionIndicatorMeshRepresentation(String geometryUri)
-
Creates a mesh representation with the given geometry.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
enableLighting(
bool state) → void - Enables/Disables light interaction with the object color.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAmbientFactor(
double factor) → void - Sets the ambient factor used when computing lighting.
-
setColor(
Color color) → void - Sets the color which will modulate the diffuse texture color.
-
setDiffuseFactor(
double factor) → void - Sets the diffuse factor used when computing lighting.
-
setFlipTextureVertically(
bool flip) → void - Sets whether to flip the image vertically.
-
setTexture(
String textureUri) → void - Sets the diffuse texture.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited