Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NETNamespace: Visual3D.Graphics3D.Maps
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
[SerializableAttribute] public class ColorMap : Map, IDesignConvertible<VColor>, IDesignConvertible, IConvertibleResolver, IDynamicAttributeProvider
<SerializableAttribute> _ Public Class ColorMap _ Inherits Map _ Implements IDesignConvertible(Of VColor), IDesignConvertible, _ IConvertibleResolver, IDynamicAttributeProvider
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| ColorMap()()()() | Initializes a new instance of the ColorMap class | |
| ColorMap(VColor, Boolean) | Initializes a new instance of the ColorMap class | |
| Clone()()()() | (Inherited from Map.) | |
| Color | Color value of the color map. | |
| ColorAnimationLevel | Multiplifier (level) to the ColorAnimationPeekColor, if UseColorAnimation set to true.
See also ColorAnimationLevel and ColorAnimationPeriod properties. | |
| ColorAnimationPeakColor | Peak color in animation, if UseColorAnimation set to true.
See also ColorAnimationLevel and ColorAnimationPeriod properties. | |
| ColorAnimationPeriod | Period of color animation cycle (in seconds), if UseColorAnimation set to true.
See also ColorAnimationLevel and ColorAnimationPeriod properties. | |
| CopyTo(Map) | (Inherited from Map.) | |
| CopyTo(Map, Boolean) | (Overrides Map..::..CopyTo(Map, Boolean).) | |
| GetShaderCopyForLOD(Int32) | Returns a copy of Shader property for given LOD index. (Inherited from Map.) | |
| ImplicitWideningImplicitImplicitImplicit(Vector4 to ColorMap) | ||
| ImplicitWideningImplicitImplicitImplicit(Single to ColorMap) | ||
| ImplicitWideningImplicitImplicitImplicit(VColor to ColorMap) | ||
| Invalidated | (Inherited from Map.) | |
| IsShaderAutoAssigned | If set to true, engine will automatically set and configure Shader property
of the Map. Otherwise, user is responsible to configure Shader on his own. Default is true. (Inherited from Map.) | |
| IsUsed | (Inherited from Map.) | |
| IsZero | ||
| Level | Multiplifier (level) for Color property. Use if you need to exhaust resulting color
or run out of normal color range. | |
| PrepareForUse()()()() | (Inherited from Map.) | |
| Set(Nullable<(Of <<'(VColor>)>>), Nullable<(Of <<'(Single>)>>)) |
Sets color and/or level and return true only if were set, and if was to a non-black (zero) value
| |
| Shader | Gets/sets low-level ColorSource shader associated with the Map. (Inherited from Map.) | |
| ToString()()()() | (Overrides Object..::..ToString()()()().) | |
| ToVector4()()()() | ||
| UseColorAnimation | If set to true, color will be animated with peak color set via ColorAnimationPeakColor.
See also ColorAnimationLevel and ColorAnimationPeriod properties. | |
| UseVertexColor | If set to true, Color property will be ignored, and COLOR attribute
from vertex data will be used instead. See also VertexColorIndex property.
Default is false. | |
| VertexColorIndex | Index of COLOR attribute in vertex data to get color from, in case
if UseVertexColor is set to true. |