- "tool to manage light sources, without arguments shows list of lights."
- "\n Main commands: "
- "\n '-clear' to clear lights"
- "\n '-{def}aults' to load default lights"
- "\n '-add' <type> to add any light source"
- "\n where <type> is one of {amb}ient|directional|{spot}light|positional"
- "\n 'change' <lightId> to edit light source with specified lightId"
- "\n\n In addition to 'add' and 'change' commands you can use light parameters:"
- "\n -layer Id"
- "\n -{pos}ition X Y Z"
- "\n -{dir}ection X Y Z (for directional light or for spotlight)"
- "\n -color colorName"
- "\n -{head}light 0|1"
- "\n -castShadows 0|1"
- "\n -{sm}oothness value"
- "\n -{int}ensity value"
- "\n -{constAtten}uation value"
- "\n -{linearAtten}uation value"
- "\n -angle angleDeg"
- "\n -{spotexp}onent value"
- "\n -range value"
- "\n -local|-global"
- "\n -name value"
- "\n -display nameOfLight (display light source with specified nameOfLight or its name)"
- "\n -showName {1|0} show/hide the name of light source; 1 by default"
- "\n -showRange {1|0} show/hide the range of spot/positional light source; 1 by default"
- "\n -prsZoomable {1|0} make light presentation zoomable/non-zoomable"
- "\n -prsSize {Value} set light presentation size"
- "\n\n example: vlight -add positional -head 1 -pos 0 1 1 -color red"
- "\n example: vlight -change 0 -direction 0 -1 0 -linearAttenuation 0.2",
+ "vlight [lightName] [-noupdate]"
+ "\n\t\t: [-clear|-defaults] [-layer Id] [-local|-global] [-disable|-enable]"
+ "\n\t\t: [-type {ambient|directional|spotlight|positional}] [-name value]"
+ "\n\t\t: [-position X Y Z] [-direction X Y Z] [-color colorName] [-intensity value]"
+ "\n\t\t: [-headlight 0|1] [-castShadows 0|1]"
+ "\n\t\t: [-range value] [-constAttenuation value] [-linearAttenuation value]"
+ "\n\t\t: [-spotExponent value] [-spotAngle angleDeg]"
+ "\n\t\t: [-smoothAngle value] [-smoothRadius value]"
+ "\n\t\t: [-display] [-showName 1|0] [-showRange 1|0] [-prsZoomable 1|0] [-prsSize Value]"
+ "\n\t\t: Command manages light sources. Without arguments shows list of lights."
+ "\n\t\t: Arguments affecting the list of defined/active lights:"
+ "\n\t\t: -clear remove all light sources"
+ "\n\t\t: -defaults defines two standard light sources"
+ "\n\t\t: -reset resets light source parameters to default values"
+ "\n\t\t: -type sets type of light source"
+ "\n\t\t: -name sets new name to light source"
+ "\n\t\t: -global assigns light source to all views (default state)"
+ "\n\t\t: -local assigns light source to active view"
+ "\n\t\t: -zlayer assigns light source to specified Z-Layer"
+ "\n\t\t: Ambient light parameters:"
+ "\n\t\t: -color sets (normalized) light color"
+ "\n\t\t: -intensity sets intensity of light source, 1.0 by default;"
+ "\n\t\t: affects also environment cubemap intensity"
+ "\n\t\t: Point light parameters:"
+ "\n\t\t: -color sets (normalized) light color"
+ "\n\t\t: -intensity sets PBR intensity"
+ "\n\t\t: -range sets clamping distance"
+ "\n\t\t: -constAtten (obsolete) sets constant attenuation factor"
+ "\n\t\t: -linearAtten (obsolete) sets linear attenuation factor"
+ "\n\t\t: -smoothRadius sets PBR smoothing radius"
+ "\n\t\t: Directional light parameters:"
+ "\n\t\t: -color sets (normalized) light color"
+ "\n\t\t: -intensity sets PBR intensity"
+ "\n\t\t: -direction sets direction"
+ "\n\t\t: -headlight sets headlight flag"
+ "\n\t\t: -castShadows enables/disables shadow casting"
+ "\n\t\t: -smoothAngle sets PBR smoothing angle (in degrees) within 0..90 range"
+ "\n\t\t: Spot light parameters:"
+ "\n\t\t: -color sets (normalized) light color"
+ "\n\t\t: -intensity sets PBR intensity"
+ "\n\t\t: -range sets clamping distance"
+ "\n\t\t: -position sets position"
+ "\n\t\t: -direction sets direction"
+ "\n\t\t: -spotAngle sets spotlight angle"
+ "\n\t\t: -spotExp sets spotlight exponenta"
+ "\n\t\t: -headlight sets headlight flag"
+ "\n\t\t: -constAtten (obsolete) sets constant attenuation factor"
+ "\n\t\t: -linearAtten (obsolete) sets linear attenuation factor"
+ "\n\t\t: Light presentation parameters:"
+ "\n\t\t: -display adds light source presentation"
+ "\n\t\t: -showName shows/hides the name of light source; 1 by default"
+ "\n\t\t: -showRange shows/hides the range of spot/positional light source; 1 by default"
+ "\n\t\t: -prsZoomable makes light presentation zoomable/non-zoomable"
+ "\n\t\t: -prsSize sets light presentation size"
+ "\n\t\t: Examples:"
+ "\n\t\t: vlight redlight -type POSITIONAL -headlight 1 -pos 0 1 1 -color RED"
+ "\n\t\t: vlight redlight -delete",