SwayEnable Property

Usage:
   GeometryTemplate.SwayEnable boolean

Argument values:

argument 1:    1; most commonly 1

Description: Setting this property to true (1) makes the tree sway in the "breeze". The amount of sway is set by SwayRangeDegrees. BF 1942 sets this property for pines, spruces, and palm trees.

Related properties: SwayRangeDegrees

Used in object types (and how often in each type): StandardMesh (1%), TreeMesh (25%)

Used in a total of 34 .con files: Geometries.con

Parent directory of these .con files: objects/Vegetation

Example: (from objects/Vegetation/Common/Pacific_Palm_A_M1/Geometries.con)
   GeometryTemplate.Create TreeMesh Pacific_Palm_A_M1
   GeometryTemplate.File Pacific_Palm_A_M1
   GeometryTemplate.SwayEnable 1
   GeometryTemplate.SwayRangeDegrees 1.1
   GeometryTemplate.Billboard 1
   GeometryTemplate.BillboardDistance 50


Go to the GeometryTemplate properties list page, GeometryTemplate page, All Properties list, or Main scripting page.