new Cesium.StripeMaterialProperty(options)

一张图图图 条纹 {Material}制服.
Name Type Description
options object optional 下列属性的对象 :
Name Type Default Description
orientation Property | StripeOrientation StripeOrientation.HORIZONTAL optional A Property specifying the StripeOrientation.
evenColor Property | Color Color.WHITE optional A Property specifying the first Color.
oddColor Property | Color Color.BLACK optional A Property specifying the second Color.
offset Property | number 0 optional A numeric Property specifying how far into the pattern to start the material.
repeat Property | number 1 optional A numeric Property specifying how many times the stripes repeat.

Members

readonly definitionChanged : Event

当此属性定义发生变化时, 获取该属性被提起的事件 . 如果给Value的电话被调回,定义就被认为有所改变 同时得出不同的结果.

evenColor : Property|undefined

Gets or sets the Property specifying the first Color.
Default Value: Color.WHITE

readonly isConstant : boolean

获得一个表示该属性是否常数的值。 财产被视为 常数,如果获得Value 总是返回当前定义的相同结果.

oddColor : Property|undefined

Gets or sets the Property specifying the second Color.
Default Value: Color.BLACK

offset : Property|undefined

获取或设置指定点到图案的数值属性 开始绘制; 以 0.0 为偶数的开始, 1.0 为开始 的颜色, 2.0 又是偶数颜色, 以及任何多或分数值 是在中间.
Default Value: 0.0

orientation : Property|undefined

Gets or sets the Property specifying the StripeOrientation/
Default Value: StripeOrientation.HORIZONTAL

repeat : Property|undefined

获取或设置数字属性,指定条纹重复的次数.
Default Value: 1.0

Methods

equals(other)boolean

将此属性与所提供的属性进行比较并返回 -NT+0+Treal NT+1+,如果两者是相等的, NT+2+false NT+3+否则.
Name Type Description
other Property optional 其他财产.
Returns:
如果左右对等, 则使用 NT 0 true NT 1 , 否则使用 NT 2 false NT 3 .

getType(time)string

Gets the Material type at the provided time.
Name Type Description
time JulianDate 检索类型的时间 .
Returns:
材料类型.

getValue(time, result)object

在提供的时间获得财产的价值.
Name Type Default Description
time JulianDate JulianDate.now() optional The time for which to retrieve the value. If omitted, the current system time is used.
result object optional 如果省略,则创建并返回将数值存储为新实例的对象.
Returns:
未提供结果参数的修改结果参数或新实例 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.