RenderEnvironment Properties |
The RenderEnvironment type exposes the following members.
Name | Description | |
---|---|---|
CanBeEdited |
Determines if the content can be edited.
(Inherited from RenderContent.) | |
Category |
Category for this content.
(Inherited from RenderContent.) | |
ChildSlotDisplayName |
Returns the localized display name of the child slot name
(Inherited from RenderContent.) | |
ChildSlotName | (Inherited from RenderContent.) | |
CppPointer | (Inherited from RenderContent.) | |
CurrentEnvironment | Obsolete. | |
DisplayName |
Display name for this content.
(Inherited from RenderContent.) | |
Document | Obsolete.
Obsolete. Do not use. You should use DocumentOwner instead.
(Inherited from RenderContent.) | |
DocumentAssoc |
If this render content is associated with a document in any way, the document will be returned. This includes copies of
render contents that were attached to a document when the copy was made. Otherwise returns null.
(Inherited from RenderContent.) | |
DocumentOwner |
If this render content is owned by a document, the document will be returned.
This is the same as getting the document the render content is attached to.
Otherwise returns null.
(Inherited from RenderContent.) | |
DocumentRegistered | Obsolete.
Obsolete. Do not use. You should use DocumentOwner instead.
(Inherited from RenderContent.) | |
Fields |
Rhino.Render.Fields FieldDictionary which provides access to setting
and retrieving field values.
(Inherited from RenderContent.) | |
Filename |
If the content is file based, this function can be overridden to deal with setting/getting the
filename. Corresponds to IRhRdkFileBasedContent in the C++ SDK
(Inherited from RenderContent.) | |
FilesToEmbed |
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.) | |
FirstChild |
Return First child of this content or null if none.
(Inherited from RenderContent.) | |
GroupId |
Group ID of the content
(Inherited from RenderContent.) | |
Hidden |
Gets or sets the render content's 'hidden' state. This feature only works for top-level render contents
because it hides the entire hierarchy. It is normally used for 'implementation detail' render contents.
For expert use only. Hidden render contents are never shown in the UI, with the exception of the Object
(or Layer) Material Properties UI which always shows whatever is assigned to the object (or layer).
In the Object (or Layer) Material Properties UI, if the user drops down the list, hidden render contents
are not listed. Hidden render contents, being part of the document content list, will be listed by any
scripts or other code that iterates over the document render content list. It is recommended that you set
IsHidden once when you create your render content and leave it on to prevent flicker or slow performance.
(Inherited from RenderContent.) | |
Id |
Instance identifier for this content.
(Inherited from RenderContent.) | |
IsDefaultInstance |
Checks if render content is default instance.
(Inherited from RenderContent.) | |
IsHiddenByAutoDelete |
Contents can be created as 'auto-delete' by certain commands such as 'Picture'.
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.) | |
IsLocked |
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.) | |
Name |
Instance 'raw' name for this content.
(Inherited from RenderContent.) | |
NextSibling |
Return First sibling of this content or null if none.
(Inherited from RenderContent.) | |
Notes |
Notes for this content.
(Inherited from RenderContent.) | |
Parent |
Returns the top content in this parent/child chain.
(Inherited from RenderContent.) | |
ProxyType |
Gets the proxy type of the render content
(Inherited from RenderContent.) | |
RenderHash |
Render hash for the content hierarchy. It iterates over 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.) | |
Styles | (Inherited from RenderContent.) | |
Tags |
Tags for this content.
(Inherited from RenderContent.) | |
TextureChildSlotName | ||
TopLevel |
Returns true if this content has no parent, false if it is the child of another content.
(Inherited from RenderContent.) | |
TopLevelParent |
Returns the top content in this parent/child chain.
(Inherited from RenderContent.) | |
TypeDescription |
Description for your content type. i.e., "Procedural checker pattern"
(Inherited from RenderContent.) | |
TypeId |
Type identifier for this content
(Inherited from RenderContent.) | |
TypeName |
Name for your content type. i.e., "My .net Texture"
(Inherited from RenderContent.) | |
Xml | (Inherited from RenderContent.) |