Class ColorByType
Inheritance
System.Object
ColorByType
Assembly: cs.temp.dll.dll
Syntax
public class ColorByType : RenderingRule
Fields
colorKey
Declaration
public List<ColorKey> colorKey
Field Value
Type |
Description |
System.Collections.Generic.List<ColorKey> |
|
colorLookup
Declaration
protected Dictionary<string, Color> colorLookup
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, Color> |
|
colorName
Declaration
Field Value
Type |
Description |
System.String |
|
gradient
Declaration
Field Value
Type |
Description |
Gradient |
|
receiveShadows
Declaration
public bool receiveShadows
Field Value
Type |
Description |
System.Boolean |
|
shadowCastingMode
Declaration
public ShadowCastingMode shadowCastingMode
Field Value
Type |
Description |
ShadowCastingMode |
|
Methods
ApplyRuleToObject(Renderer, SpeckleObject, MaterialPropertyBlock)
Declaration
public override void ApplyRuleToObject(Renderer renderer, SpeckleObject speckleObject, MaterialPropertyBlock block)
Parameters
Type |
Name |
Description |
Renderer |
renderer |
|
SpeckleObject |
speckleObject |
|
MaterialPropertyBlock |
block |
|
Overrides