BArtisan.Thrusters.Helpers.BThrusterHelperLight Class Reference
+ Inheritance diagram for BArtisan.Thrusters.Helpers.BThrusterHelperLight:

Detailed Description

A helper, made as an example to show how you can connect a thrusters throttle and state to a series of lights. You can drag&drop the lights or leave empty for auto detect (in the same objects and children)

Member Data Documentation

◆ connectedThruster

BThrusterBase BArtisan.Thrusters.Helpers.BThrusterHelperLight.connectedThruster

The thruster that will control the lights. Leave blank to auto detect in the GO or children.

◆ connectedLights

Light [] BArtisan.Thrusters.Helpers.BThrusterHelperLight.connectedLights

The lights directly controlled by the thruster. Leave blank to auto detect in the GO and children.

◆ controlIntensity

bool BArtisan.Thrusters.Helpers.BThrusterHelperLight.controlIntensity = true

Will control the intensity value based on the thruster's throttle.

◆ intensityByThrottle

AnimationCurve BArtisan.Thrusters.Helpers.BThrusterHelperLight.intensityByThrottle
Initial value:
= new AnimationCurve(
new Keyframe[] { new Keyframe(0f, 2f), new Keyframe(1f, 20f) })

◆ controlRange

bool BArtisan.Thrusters.Helpers.BThrusterHelperLight.controlRange = false

Will control the range value based on the thruster's throttle.

◆ rangeByThrottle

AnimationCurve BArtisan.Thrusters.Helpers.BThrusterHelperLight.rangeByThrottle
Initial value:
= new AnimationCurve(
new Keyframe[] { new Keyframe(0f, 5f), new Keyframe(1f, 20f) })

◆ controlColor

bool BArtisan.Thrusters.Helpers.BThrusterHelperLight.controlColor = false

Will control the color value based on the thruster's throttle.

◆ colorByThrottle

Gradient BArtisan.Thrusters.Helpers.BThrusterHelperLight.colorByThrottle = new Gradient()

◆ debugLog

bool BArtisan.Thrusters.BBaseMonobehaviour.debugLog = false
inherited

Enable to debug this component. Warning: it may result in CPU intensive debug messages (each frame).