RhinoCommon API
new_releases
RhinoCommon documentation has a new look. The old site can still be found here.
play_arrow
Rhino
play_arrow
Rhino.ApplicationSettings
play_arrow
Rhino.Collections
play_arrow
Rhino.Commands
play_arrow
Rhino.Display
play_arrow
Rhino.DocObjects
play_arrow
Rhino.DocObjects.Custom
play_arrow
Rhino.DocObjects.SnapShots
play_arrow
Rhino.DocObjects.Tables
play_arrow
Rhino.FileIO
play_arrow
Rhino.Geometry
play_arrow
Rhino.Geometry.Collections
play_arrow
Rhino.Geometry.Intersect
play_arrow
Rhino.Geometry.MeshRefinements
play_arrow
Rhino.Geometry.Morphs
play_arrow
Rhino.Input
play_arrow
Rhino.Input.Custom
play_arrow
Rhino.NodeInCode
play_arrow
Rhino.ObjectManager
play_arrow
Rhino.PlugIns
play_arrow
Rhino.Render
play_arrow
Rhino.Render.ChangeQueue
play_arrow
Rhino.Render.ChildSlotNames
play_arrow
Rhino.Render.CustomRenderMeshes
play_arrow
Rhino.Render.DataSources
play_arrow
Rhino.Render.Fields
play_arrow
Rhino.Render.ParameterNames
play_arrow
Rhino.Render.PostEffects
play_arrow
Rhino.Render.UI
play_arrow
Rhino.Runtime
play_arrow
Rhino.Runtime.InProcess
play_arrow
Rhino.Runtime.InteropWrappers
play_arrow
Rhino.Runtime.Notifications
play_arrow
Rhino.Runtime.RhinoAccounts
play_arrow
Rhino.UI
play_arrow
Rhino.UI.Controls
play_arrow
Rhino.UI.Controls.DataSource
play_arrow
Rhino.UI.Controls.ThumbnailUI
play_arrow
Rhino.UI.Controls.Thumbnaillist
play_arrow
Rhino.UI.Gumball
play_arrow
dotnetstart
home
/
Rhino.DocObjects
/
ObjectMaterialSource

ObjectMaterialSource enum

Defines enumerated values for the source of material of single objects.

Derived Classes:

Namespace: Rhino.DocObjects
ObjectMaterialSource: references

keyboard_arrow_down
Values (3)

MaterialFromLayer = 0

 
use material assigned to layer.

MaterialFromObject = 1

 
use material assigned to object.

MaterialFromParent = 3

 
for objects with parents, like definition geometry in instance references and faces in polysurfaces, this value indicates the material definition should come from the parent. If the object does not have an obvious "parent", then treat it the same as material_from_layer.

Nothing found