AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
MeshStandardMaterial类 参考
类 MeshStandardMaterial 继承关系图:
MeshMaterial MaterialInstance GfxObject

Public 成员函数

void SetRoughness (float val)
 
float GetRoughness ()
 
void SetRoughnessMap (Texture map)
 
Texture GetRoughnessMap ()
 
void SetMetalness (float val)
 
float GetMetalness ()
 
void SetMetalnessMap (Texture map)
 
Texture GetMetalnessMap ()
 
void SetEnvMapIntensity (float val)
 
float GetEnvMapIntensity ()
 
- Public 成员函数 继承自 MeshMaterial
void SetColorMap (Texture map)
 
Texture GetColorMap ()
 
void SetEnviornmentMap (Texture map)
 
Texture GetEnviornmentMap ()
 
void SetRefractionRatio (float val)
 
float GetRefractionRatio ()
 
void SetAoMap (Texture map)
 
Texture GetAoMap ()
 
void SetAoMapIntensity (float val)
 
float GetAoMapIntensity ()
 
void SetLightMap (Texture map)
 
Texture GetLightMap ()
 
void SetLightMapIntensity (float val)
 
float GetLightMapIntensity ()
 
void SetEmissive (Vector3 val)
 
Vector3 GetEmissive ()
 
void SetEmissiveIntensity (float val)
 
float GetEmissiveIntensity ()
 
void SetEmissiveMap (Texture map)
 
Texture GetEmissiveMap ()
 
void SetBumpMap (Texture map)
 
Texture GetBumpMap ()
 
void SetBumpScale (float val)
 
float GetBumpScale ()
 
void SetNormalMap (Texture map)
 
Texture GetNormalMap ()
 
void SetNormalScale (Vector2 val)
 
Vector2 GetNormalScale ()
 
void SetNormalMapType (EnumNormalMapType val)
 
EnumNormalMapType GetNormalMapType ()
 
void SetDisplacementMap (Texture map)
 
Texture GetDisplacementMap ()
 
void SetDisplacementScale (float val)
 
float GetDisplacementScale ()
 
void SetDisplacementBias (float val)
 
float GetDisplacementBias ()
 
void SetAlphaMap (Texture map)
 
Texture GetAlphaMap ()
 
void SetSkinning (boolean val)
 
boolean GetSkinning ()
 
void SetMorphTargets (boolean val)
 
boolean GetMorphTargets ()
 
void SetMorphNormals (boolean val)
 
boolean GetMorphNormals ()
 
- Public 成员函数 继承自 MaterialInstance
String GetName ()
 
void SetName (String val)
 
long GetHashCodeId ()
 
MaterialTemplate GetTemplate ()
 
long GetUpdateVersion ()
 
short GetLineWidth ()
 
void SetLineWidth (short val)
 
boolean GetDepthTest ()
 
void SetDepthTest (boolean val)
 
boolean GetDepthWrite ()
 
void SetDepthWrite (boolean val)
 
UniformSet GetUniforms ()
 
EnumBlendingMode GetBlending ()
 
void SetBlending (EnumBlendingMode val)
 
float GetRenderOrder ()
 
void SetRenderOrder (float val)
 
void SetColor (Vector3 val)
 
Vector3 GetColor ()
 
void SetOpacity (float val)
 
float GetOpacity ()
 
void SetAlphaTest (float val)
 
float GetAlphaTest ()
 
void SetFaceSide (EnumFaceSide val)
 
EnumFaceSide GetFaceSide ()
 
void SetVertexColors (boolean val)
 
boolean GetVertexColors ()
 
void SetVertexColors4 (boolean val)
 
boolean GetVertexColors4 ()
 
void SetRGB (short r, short g, short b)
 
void SetColor (float r, float g, float b)
 
void SetTransparent (boolean enabled)
 
boolean GetTransparent ()
 
boolean GetReceiveShadow ()
 
boolean GetStatic ()
 
long GetMorphTargetCount ()
 
void RequestUpdate ()
 
void ComputeHashCode ()
 
void AddDefine (String key, String value)
 
void AddTexture (String name, Texture texture)
 
Texture GetTexture (String name)
 
void SetUniform (String name, boolean val)
 
void SetUniform (String name, int val)
 
void SetUniform (String name, EnumTextureUnit val)
 
void SetUniform (String name, float val)
 
void SetUniform (String name, Vector2 val)
 
void SetUniform (String name, Vector3 val)
 
void SetUniform (String name, Vector4 val)
 
void SetUniform (String name, Matrix3 val)
 
void SetUniform (String name, Matrix4 val)
 
void SetUniform (String name, Matrix2 val)
 
void SetUniformBool (String name, boolean val)
 
void SetUniformInt (String name, int val)
 
void SetUniformTextureUnit (String name, EnumTextureUnit val)
 
void SetUniformFloat (String name, float val)
 
void SetUniformVec2 (String name, Vector2 val)
 
void SetUniformVec3 (String name, Vector3 val)
 
void SetUniformVec4 (String name, Vector4 val)
 
void SetUniformMat2 (String name, Matrix2 val)
 
void SetUniformMat3 (String name, Matrix3 val)
 
void SetUniformMat4 (String name, Matrix4 val)
 
- Public 成员函数 继承自 GfxObject
long GetUuid ()
 

静态 Public 成员函数

static MeshStandardMaterial Cast (GfxObject obj)
 
static MeshStandardMaterial Create (String templateName)
 
static MeshStandardMaterial Cast (MaterialInstance material)
 
static MeshMaterial Cast (GfxObject obj)
 
static MaterialInstance Cast (GfxObject obj)
 

详细描述

<> The standard PBR material.

成员函数说明

◆ Cast()

static MeshStandardMaterial MeshStandardMaterial.Cast ( GfxObject  obj)
static

重载 MeshMaterial .