StripeMaterialProperty

A MaterialProperty that maps to stripe Material uniforms.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open external override val definitionChanged: DefaultEvent

Gets the event that is raised whenever the definition of this property changes. The definition is considered to have changed if a call to getValue would return a different result for the same time.

Link copied to clipboard
external var evenColor: Property?

Gets or sets the Property specifying the first Color.

Link copied to clipboard
open external override val isConstant: Boolean

Gets a value indicating if this property is constant. A property is considered constant if getValue always returns the same result for the current definition.

Link copied to clipboard
external var oddColor: Property?

Gets or sets the Property specifying the second Color.

Link copied to clipboard
external var offset: Property?

Gets or sets the numeric Property specifying the point into the pattern to begin drawing; with 0.0 being the beginning of the even color, 1.0 the beginning of the odd color, 2.0 being the even color again, and any multiple or fractional values being in between.

Link copied to clipboard
external var orientation: Property?

Gets or sets the Property specifying the StripeOrientation/

Link copied to clipboard
external var repeat: Property?

Gets or sets the numeric Property specifying how many times the stripes repeat.

Functions

Link copied to clipboard
open external override fun getType(time: JulianDate): String

Gets the Material type at the provided time.

Link copied to clipboard
open external override fun getValue(time: JulianDate? = definedExternally, result: JsAny? = definedExternally): JsAny

Gets the value of the property at the provided time.