Interface ICamApiShadedVO
Custom-shading aspect of a visual object: typed parameters (uniforms) the subsystem feeds to the built-in shader that draws the object's faces. The plugin only supplies values - the subsystem owns shader compilation and binding, so this works across the process boundary (.NET / IPC). Implemented by the same object as ICamApiVisualObject (it also exposes ICamApiRenderableVO and ICamApiMaterialVO); flat : IUnknown, fetched via QueryInterface. Objects without drawable faces (e.g. a gizmo) do not implement it, so QI returns nil. Meaningful together with Lit faces (see ICamApiMaterialVO).
Namespace: CAMAPI.ViewPort
Assembly: CAMAPI.ViewPort.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F6C3D8B4-1E59-4A27-8C06-3D5B7F2A9E18")]
public interface ICamApiShadedVO
Properties
SpecularWeight
Specular highlight strength of the lit faces: 1.0 is the default look, 0.0 removes highlights (fully diffuse), higher values make them stronger. Ignored when Lit is False. Does not affect polylines.
Declaration
double SpecularWeight { get; set; }
Property Value
| Type | Description |
|---|---|
| double |