Click or drag to resize

RenderMaterial Properties

The RenderMaterial type exposes the following members.

Properties
  NameDescription
Public propertyCanBeEdited
Determines if the content can be edited.
(Inherited from RenderContent.)
Public propertyCategory
Category for this content.
(Inherited from RenderContent.)
Public propertyChildSlotName (Inherited from RenderContent.)
Public propertyCppPointer (Inherited from RenderContent.)
Public propertyDefaultPreviewBackgroundType
Set or get the default scene background for the image that appears in preview panes
Public propertyDefaultPreviewGeometryType
Set or get the default geometry that appears in preview panes
Public propertyDefaultPreviewSize
The default preview geometry size
Public propertyDocument
If this content is in a document content list, the document will be returned. Otherwise null.
(Inherited from RenderContent.)
Public propertyDocumentAssoc
If this content is associated by a document in any way, the document will be returned. This includes copies of contents that were initially in the document. Otherwise null.
(Inherited from RenderContent.)
Public propertyDocumentRegistered
If this content is used by a document, including not in the content lists (for example, as a decal), the document will be returned. Otherwise null.
(Inherited from RenderContent.)
Public propertyFields
Rhino.Render.Fields FieldDictionary which provides access to setting and retrieving field values.
(Inherited from RenderContent.)
Public propertyFilesToEmbed
A string array of full paths to files used by the content that may be embedded in .3dm files and library files (.rmtl, .renv, .rtex). The default implementation returns an empty string list. Override this to return the file name or file names used by your content. This is typically used by textures that reference files containing the texture imagery.
(Inherited from RenderContent.)
Public propertyFirstChild
Return First child of this content or nullptr if none.
(Inherited from RenderContent.)
Public propertyStatic memberGemMaterialGuid
Public propertyStatic memberGlassMaterialGuid
Public propertyHidden
Determines if the content has the hidden flag set.
(Inherited from RenderContent.)
Public propertyId
Instance identifier for this content.
(Inherited from RenderContent.)
Public propertyIsDefaultInstance
Checks if render content is default instance.
(Inherited from RenderContent.)
Public propertyIsHiddenByAutoDelete
Contents can be created as 'auto-delete' by certain commands such as 'PictureFrame'. These contents are automatically hidden from the user when the associated Rhino object is deleted. They are later deleted when the document is saved.
(Inherited from RenderContent.)
Public propertyIsLocked
Set this property to true prior to adding content to the document to lock the content browser editing UI methods. Setting this to true will keep the browser from allowing things like deleting, renaming or changing content. This is useful for custom child content that you want to be editable but persistent. Setting this after adding content to the document will cause an exception to be thrown.
(Inherited from RenderContent.)
Public propertyStatic memberMetalMaterialGuid
Public propertyName
Instance name for this content.
(Inherited from RenderContent.)
Public propertyNextSibling
Return First sibling of this content or nullptr if none.
(Inherited from RenderContent.)
Public propertyNotes
Notes for this content.
(Inherited from RenderContent.)
Public propertyStatic memberPaintMaterialGuid
Public propertyParent
Returns the top content in this parent/child chain.
(Inherited from RenderContent.)
Public propertyStatic memberPictureMaterialGuid
Public propertyStatic memberPlasterMaterialGuid
Public propertyStatic memberPlasticMaterialGuid
Public propertyProxyType
Gets the proxy type of the render content
(Inherited from RenderContent.)
Public propertyRenderHash
Render hash for the content hierarchy. It iterates children and includes a caching mechanism which means the hash value can be retrieved quickly if it hasn't changed. The cache is invalidated when Changed() is called. You can override the CalculateRenderHash(UInt64) method to provide a custom hash value.
(Inherited from RenderContent.)
Public propertySmellsLikeGem
Public propertySmellsLikeGlass
Public propertySmellsLikeMetal
Public propertySmellsLikePaint
Public propertySmellsLikePlaster
Public propertySmellsLikePlastic
Public propertySmellsLikeTexturedGem
Public propertySmellsLikeTexturedGlass
Public propertySmellsLikeTexturedMetal
Public propertySmellsLikeTexturedPaint
Public propertySmellsLikeTexturedPlaster
Public propertySmellsLikeTexturedPlastic
Public propertyTags
Tags for this content.
(Inherited from RenderContent.)
Public propertyTopLevel
Returns true if this content has no parent, false if it is the child of another content.
(Inherited from RenderContent.)
Public propertyTopLevelParent
Returns the top content in this parent/child chain.
(Inherited from RenderContent.)
Public propertyTypeDescription
Description for your content type. ie. "Procedural checker pattern"
(Inherited from RenderContent.)
Public propertyTypeId
Type identifier for this content
(Inherited from RenderContent.)
Public propertyTypeName
Name for your content type. ie. "My .net Texture"
(Inherited from RenderContent.)
Public propertyXml (Inherited from RenderContent.)
Top
See Also