Open main menu

Difference between revisions of "Documentation/Engine/Units/wiper data"

< Documentation‎ | Engine‎ | Units
(First draft.)
 
(Attributes)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''wiper_data''' unit class is used to define wipers which clear raindrops from the simulated glass panes in the interior view. A separate unit is used for each wiper. They are defined as nameless units, belonging to [[Documentation/Engine/Units/glass_pane_data|glass_pane_data]] via the ''wipers'' attribute and are typically included via '''/def/vehicle/truck/<make.model>/interior/glass.sui'''.
+
The '''wiper_data''' unit class is used to define wipers which clear raindrops from the simulated glass panes in the interior view. A separate unit is used for each wiper. They are defined as nameless units, belonging to [[Documentation/Engine/Units/glass_pane_data|glass_pane_data]] via the ''wipers'' attribute and are typically included via '''/def/vehicle/truck/<brand.model>/interior/glass.sui'''.
  
 
== Attributes ==
 
== Attributes ==
Line 15: Line 15:
 
|length
 
|length
 
|float
 
|float
|
+
|0.0
 
|The length of the wiper 'blade' in meters, along the center_bone's X axis.
 
|The length of the wiper 'blade' in meters, along the center_bone's X axis.
 
|}
 
|}

Latest revision as of 14:07, 20 June 2017

The wiper_data unit class is used to define wipers which clear raindrops from the simulated glass panes in the interior view. A separate unit is used for each wiper. They are defined as nameless units, belonging to glass_pane_data via the wipers attribute and are typically included via /def/vehicle/truck/<brand.model>/interior/glass.sui.

Attributes

Name Type Default Value Description
center_bone string The name of the bone in the animated interior model's skeleton to use as the wiper's centroid. The bone's Z axis should point 'into' the glass pane (roughly opposite the glass locator's Y axis).
length float 0.0 The length of the wiper 'blade' in meters, along the center_bone's X axis.