Click or drag to resize

RenderMeshProviderFlags Enumeration

Flags to be passed into and returned from RenderMeshes and HasCustomRenderMeshes.

Namespace:  Rhino.Render.CustomRenderMeshes
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
[FlagsAttribute]
public enum Flags
Members
  Member nameValueDescription
None0 No flags set.
Canceled1 If this flag is set when returned, then RenderMeshes was canceled.
DisableCaching2 Pass in this flag to bypass any primitive caching that the RenderMeshProviders might do.
Recursive4 Pass in this flag to get the render meshes for entire blocks. Only has an effect if the ObjectId is a block reference, and if it will not produce CRMs of its own.
IsDocumentObject8 Pass in this flag to indicate that the object id is a document resident object
AlwaysCopyDocumentContent16 Pass in this flag to ensure that materials, environments and textures that refer to document objects are always copied. This makes the RenderMeshes object safe to be stored outside of the lifetime of those objects - in caches, or for use in threaded situtations.
ReturnNullForStandardMaterial32 Pass in this flag to request that null is returned when the material on a mesh should be the standard material used - in otherwords, not customized by this RenderMeshes object. Note that this will require document access to resolve - do not use in threaded situations.
See Also