Appearance
KBE3D / KBCore / materials / TextMaterialProperty
类: TextMaterialProperty
面状: 文字贴图entity材质
继承
属性
options
options:
Record<string,any>
继承自
Image2MaterialProperty.options
方法
getType()
getType(
time?:JulianDate):"Image2"
获取 材质名称
参数
time?
检索值的时间。
返回
"Image2"
材质名称
继承自
Image2MaterialProperty.getType
getValue()
getValue(
time?:JulianDate,result?:any):any
获取所提供时间的属性值。
参数
time?
检索值的时间。
result?
any
用于存储值的对象,如果省略,则创建并返回一个新的实例。
返回
any
修改的result参数或一个新的实例(如果没有提供result参数)。
继承自
Image2MaterialProperty.getValue
equals()
equals(
other?:Property):any
将此属性与提供的属性进行比较并返回, 如果两者相等返回true,否则为false
参数
other?
比较的对象
返回
any
两者是同一个对象
继承自
_updateImage()
_updateImage():
void
返回
void
构造函数
构造函数
new TextMaterialProperty(
options:TextMaterialPropertyOptions):TextMaterialProperty
参数
options
返回
TextMaterialProperty
重写了
Image2MaterialProperty.constructor
访问器
isConstant
Getter 签名
get isConstant():
boolean
返回
boolean
继承自
Image2MaterialProperty.isConstant
definitionChanged
Getter 签名
get definitionChanged():
Event<(...args:any[]) =>void>
返回
Event<(...args: any[]) => void>
继承自
Image2MaterialProperty.definitionChanged
text
Getter 签名
get text():
any
文本内容
返回
any
Setter 签名
set text(
val:any):void
参数
val
any
返回
void
textStyles
Getter 签名
get textStyles():
TextStyleOptions
文本样式
返回
Setter 签名
set textStyles(
val:TextStyleOptions):void
参数
val
返回
void
