Appearance
KBE3D / KBCore / materials / BaseMaterialProperty
抽象 类: BaseMaterialProperty
材质属性抽象基础类 - 请勿实例化该类
继承于
CircleScanMaterialPropertyCircleWaveMaterialPropertyCylinderWaveMaterialPropertyEllipsoidElectricMaterialPropertyEllipsoidWaveMaterialPropertyImage2MaterialPropertyLineFlickerMaterialPropertyLineFlowColorMaterialPropertyLineFlowMaterialPropertyLineTrailMaterialPropertyODLineMaterialPropertyPolyAsphaltMaterialPropertyPolyBlobMaterialPropertyPolyFacetMaterialPropertyPolyGradientMaterialPropertyPolyGrassMaterialPropertyPolyWoodMaterialPropertyRadarLineMaterialPropertyRadarWaveMaterialPropertyRectSlideMaterialPropertyScanLineMaterialPropertyWallScrollMaterialPropertyWaterMaterialProperty
属性
options
options:
Record<string,any>
方法
getType()
abstractgetType(time?:JulianDate):string
获取材质名称
参数
time?
检索值的时间。
返回
string
材质名称
getValue()
abstractgetValue<T>(time?:JulianDate,result?:T):T
获取所提供时间的属性值。
类型参数
T
T = any
参数
time?
检索值的时间。
result?
T
用于存储值的对象,如果省略,则创建并返回一个新的实例。
返回
T
修改的result参数或一个新的实例(如果没有提供result参数)。
equals()
abstractequals(other?:Property):boolean
将此属性与提供的属性进行比较并返回, 如果两者相等返回true,否则为false
参数
other?
比较的对象
返回
boolean
两者是否为同一个对象
构造函数
构造函数
new BaseMaterialProperty(
options?: { }):BaseMaterialProperty
参数
options?
参数对象
返回
BaseMaterialProperty
访问器
isConstant
Getter 签名
get isConstant():
boolean
返回
boolean
definitionChanged
Getter 签名
get definitionChanged():
Event<(...args:any[]) =>void>
返回
Event<(...args: any[]) => void>
