IRenderPackageSupplement
This interface provides additional methods adding for color information to a render package.
using System;
using System.Collections.Generic;
namespace Autodesk.DesignScript.Interfaces
{
public interface IRenderPackageSupplement
{
int PointVertexColorCount { get; }
int LineVertexColorCount { get; }
int MeshVertexColorCount { get; }
List<byte[]> TextureMapsList { get; }
List<int> TextureMapsStrideList { get; }
List<Tuple<int, int>> MeshVerticesRangesAssociatedWithTextureMaps { get; }
[Obsolete("Do not use! This will be removed in a future version of Dynamo")]
bool AllowLegacyColorOperations { get; set; }
void UpdatePointVertexColorForRange(int startIndex, int endIndex, byte red, byte green, byte blue, byte alpha);
void AppendPointVertexColorRange(byte[] colors);
void UpdateLineVertexColorForRange(int startIndex, int endIndex, byte red, byte green, byte blue, byte alpha);
void AppendLineVertexColorRange(byte[] colors);
void UpdateMeshVertexColorForRange(int startIndex, int endIndex, byte red, byte green, byte blue, byte alpha);
void AppendMeshVertexColorRange(byte[] colors);
void AddTextureMapForMeshVerticesRange(int startIndex, int endIndex, byte[] textureMap, int stride);
}
}