Skip to content

Material ​

继承自:

描述 ​

材质对象

属性 ​

DepthFunc  DepthFunc
深度检测
DepthWrite  DepthWrite
深度写入
UInt8  RenderGroup
实体渲染
CullMode  CullMode
消隐模式
BaseMaterial  BaseMaterial
基础材料
ModelAssetType  MainTexture
主纹理
Vector2  MainTextureTileScale
主纹理平铺比例
Vector2  MainTextureTileOffset
主纹理平铺偏移
float  SpecScale
规格比例
float  SpecIntensity
规格强度
ColorQuad  ShadowColor
阴影颜色
float  AlphaTransparent
透明度
float  RGBATransparent
RGB透明度
bool  EnableEmissive
启用发射
ModelAssetType  EmissiveTexture
发射纹理
ColorQuad  EmissiveTextureColor
发射纹理颜色
float  GlitterSpeed
闪光速度
float  GlitterPower
闪光功率
float  ShadowPowerMin
阴影调解系数最小值
float  ShadowPowerMax
阴影调解系数最大值
float  Brightness
亮度:发光体(反光体)表面发光(反光)强弱的物理量
float  StepAmount
渐变Amount
float  OnStep
渐变
ColorQuad  InnerColor
内发光的颜色
bool  EnableRimColor
是否外发光
float  RimWidth
发光区域
float  RimIntensity
边缘光强度
ColorQuad  RimColor
外发光的颜色
ModelAssetType  NormalTexture
法线纹理
float  DiffuseIns
漫反射光照模型
float  ShadowIns
ShadowIns