VisProperties class, available in: Visual style definitionThis class has 21 members:
sdleiF
string _property_changed_id ROLast changed property id
int _property_changed_index ROLast changed property index
int axes0 .. 1 (false/true)
default=0
X/Y/Z axes
int bbox0 .. 1 (false/true)
default=1
Body view bounding box
int bgcolor0 .. 16777215
default=16764040
Body view background
int haxes0 .. 1 (false/true)
default=0
Hinge axes
int hideworld0 .. 1 (false/true)
default=0
Hide world objects except creaturesCan be useful for screenshots
int joint_width10 .. 150
default=100
Stick width (%)
int modelpan0 .. 3
  • 0 = Solid background
  • 1 = Field (default)
  • 2 = Ocean
  • 3 = Dark city
  • Body view panorama
    int shadows0 .. 1 (false/true)
    default=1
    Shadows
    int shownames0 .. 1 (false/true)
    default=0
    Show names
    int symmetryplane0 .. 1 (false/true)
    default=0
    Guess symmetry plane (body view)Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
    Use scripting and the ModelSymmetry class to compute symmetry accurately.
    Details of the symmetry estimation procedure are described in http://www.framsticks.com/bib/Jaskowski-and-Komosinski-2008
    int worldbgcolor0 .. 16777215
    default=16764040
    World view background
    int worldpan0 .. 3
  • 0 = None
  • 1 = Field
  • 2 = Ocean (default)
  • 3 = Dark city
  • World panorama
    snoitcnuF
    function _propertyAdd(string id, string type_description, string name, int flags, string help_text)doesn't return a valueAdd property (id,type,name,help)Using most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.
    function _propertyAddGroup(string name)doesn't return a valueAdd property groupUsing most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.
    function _propertyChange(string id, string type_description, string name, int flags, string help_text)doesn't return a valueChange propertyUsing most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.
    function _propertyClear()doesn't return a valueRemove all propertiesUsing most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.
    function _propertyExists(string name)returns intCheck for property existence
    function _propertyRemove(int index)doesn't return a valueRemove propertyUsing most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.
    function _propertyRemoveGroup(int index)doesn't return a valueRemove property groupUsing most _property functions is restricted for internal purposes. Use "property:" or "state:" definitions in your script files to change object properties.
    Global context>>Experiment definition>>Visual style definition