• Manual
  • Scripting API
Show / Hide Table of Contents
  • SpeckleUnity
    • ColorByType
    • ColorKey
    • Conversions
    • RenderingRule
    • SpawnSpeed
    • SpeckleUnityClient
    • SpeckleUnityGeometry
    • SpeckleUnityManager
    • SpeckleUnityMesh
    • SpeckleUnityNumber
    • SpeckleUnityObject
    • SpeckleUnityPoint
    • SpeckleUnityPolyline
    • SpeckleUnityReceiver
    • SpeckleUnitySender
    • SpeckleUnityUpdate
    • SpeckleUnityUpdateEvent
    • SpeckleUnityValueChange
    • StartMode
    • UpdateType
    • WSMessageData
    • WSMessageDataArgs
  • SpeckleUnity.CustomEditors
    • SpeckleUnityMenus
  • SpeckleUnity.Tests
    • AsyncTest
    • SpeckleUnityManagerTests
    • TestInput

Class ColorByType

Inheritance
System.Object
RenderingRule
ColorByType
Namespace: SpeckleUnity
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
public string colorName
Field Value
Type Description
System.String

gradient

Declaration
public Gradient gradient
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
RenderingRule.ApplyRuleToObject(Renderer, SpeckleObject, MaterialPropertyBlock)
Back to top Generated by DocFX