Skip to content

RenderPrimitiveList

Public Class

Note: This API is now obsolete.

Inheritance Hierarchy

System.Object
Rhino.Render.RenderPrimitiveList

Namespace: Rhino.Render

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

[ObsoleteAttribute("Use RenderPrimitives")]
public class RenderPrimitiveList : IDisposable

The RenderPrimitiveList type exposes the following members.

Properties

Name

Description


Public Property

Number of meshes in this list


Public Property

The Rhino object associated with this list


Public Property

Returns true if the texture mapping will be taken from the Rhino object otherwise; the texture mapping will use the texture coordinates on the mesh only.


Methods

Name

Description


Public Method

Add primitive box and material.


Public Method

Public Method

Add mesh and material.


Public Method

Add primitive plane and material.


Public Method

Add primitive sphere and material.


Public Method

Add primitive cone and material.


Public Method

Add mesh and material.


Public Method

Public Method

Public Method

Remove all primitives from this list


Public Method

Convert mesh quad faces to triangle faces.


Public Method

Releases all resources used by the RenderPrimitiveList


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

(Overrides Object.Finalize..)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Call this method to get the render material associated with the mesh at the specified index. Will return null if there is no material associated with the requested mesh.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Get the mesh for the primitive at the specified index. If the item at this index is a primitive type other than a mesh then it mesh representation is returned.


Public Method

Get the mesh for the primitive at the specified index. If the item at this index is a primitive type other than a mesh then it mesh representation is returned.


Public Method

Type of primitive object at this index.


Public Method

Public Method

Call this method to see if there are any RenderMaterials associated with the meshes. Each primitive can optionally have a RenderMaterial associated with it, if the RenderMaterial is null then check for a RhinoObject.RenderMaterial.


Public Method

Call this method to get a array of meshes, all primitives will get meshed and the meshes will get included in the returned array.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Public Method

Call this method to get a box at the specified index.


Public Method

Call this method to get a box at the specified index.


Public Method

Call this method to get a box at the specified index.


Public Method

Call this method to get a box at the specified index.