RenderPrimitiveList Methods |
The RenderPrimitiveList type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(Box, RenderMaterial) |
Add primitive box and material.
| |
| Add(IEnumerableMesh, RenderMaterial) | ||
| Add(Mesh, RenderMaterial) |
Add mesh and material.
| |
| Add(PlaneSurface, RenderMaterial) |
Add primitive plane and material.
| |
| Add(Sphere, RenderMaterial) |
Add primitive sphere and material.
| |
| Add(Cone, Plane, RenderMaterial) |
Add primitive cone and material.
| |
| Add(Mesh, RenderMaterial, Transform) |
Add mesh and material.
| |
| AutoDeleteMaterialsOn | ||
| AutoDeleteMeshesOn | ||
| Clear |
Remove all primitives from this list
| |
| ConvertMeshesToTriangles |
Convert mesh quad faces to triangle faces.
| |
| Dispose | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetInstanceTransform | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Material |
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.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Mesh |
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.
| |
| MeshInstance |
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.
| |
| PrimitiveType |
Type of primitive object at this index.
| |
| SetInstanceTransform | ||
| ToMaterialArray |
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.
| |
| ToMeshArray |
Call this method to get a array of meshes, all primitives will get
meshed and the meshes will get included in the returned array.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetBox |
Call this method to get a box at the specified index.
| |
| TryGetCone |
Call this method to get a box at the specified index.
| |
| TryGetPlane |
Call this method to get a box at the specified index.
| |
| TryGetSphere |
Call this method to get a box at the specified index.
|