DynamoVisualProgramming.DynamoServices by Autodesk

<PackageReference Include="DynamoVisualProgramming.DynamoServices" Version="3.4.0-beta6560" />

 IRenderPackage

public interface IRenderPackage
This interface caches render specific data.
using System; using System.Collections.Generic; namespace Autodesk.DesignScript.Interfaces { public interface IRenderPackage { string Description { get; set; } bool IsSelected { get; set; } bool HasRenderingData { get; } bool DisplayLabels { get; set; } bool RequiresPerVertexColoration { get; set; } int PointVertexCount { get; } int LineVertexCount { get; } int MeshVertexCount { get; } IEnumerable<int> LineStripVertexCounts { get; } IEnumerable<double> LineStripVertices { get; } IEnumerable<byte> LineStripVertexColors { get; } IEnumerable<int> LineStripIndices { get; } IEnumerable<double> MeshVertices { get; } IEnumerable<byte> MeshVertexColors { get; } IEnumerable<int> MeshIndices { get; } IEnumerable<double> MeshNormals { get; } IEnumerable<double> MeshTextureCoordinates { get; } IEnumerable<double> PointVertices { get; } IEnumerable<byte> PointVertexColors { get; } IEnumerable<int> PointIndices { get; } [Obsolete("Do not use! Use the methods in IRenderPackageSupplement to add mesh texture maps.")] IEnumerable<byte> Colors { get; } [Obsolete("Do not use! Use the methods in IRenderPackageSupplement to add mesh texture maps.")] int ColorsStride { get; set; } void AddPointVertex(double x, double y, double z); void AddPointVertexColor(byte red, byte green, byte blue, byte alpha); void AddTriangleVertex(double x, double y, double z); void AddTriangleVertexNormal(double x, double y, double z); void AddTriangleVertexUV(double u, double v); void AddTriangleVertexColor(byte red, byte green, byte blue, byte alpha); void AddLineStripVertex(double x, double y, double z); void AddLineStripVertexCount(int n); void AddLineStripVertexColor(byte red, byte green, byte blue, byte alpha); [Obsolete("Do not use! Use the methods in IRenderPackageSupplement to add ranges of vertex colors.")] void ApplyPointVertexColors(byte[] colors); [Obsolete("Do not use! Use the methods in IRenderPackageSupplement to add ranges of vertex colors.")] void ApplyLineVertexColors(byte[] colors); [Obsolete("Do not use! Use the methods in IRenderPackageSupplement to add ranges of vertex colors.")] void ApplyMeshVertexColors(byte[] colors); [Obsolete("Do not use! Use the methods in IRenderPackageSupplement to add mesh texture maps.")] void SetColors(byte[] colors); void Clear(); } }