Pixelpart 1.8.2
Godot Plugin
Loading...
Searching...
No Matches
godot::PixelpartStaticPropertyFloat Class Reference

float property affected by effect inputs. More...

Public Member Functions

float value () const
 Return value with effect inputs taken into account.
 
void set_base_value (float value)
 Set value without effect inputs taken into account.
 
float get_base_value () const
 Return value without effect inputs taken into account.
 

Public Attributes

float base_value
 Value without effect inputs taken into account.
 

Detailed Description

float property affected by effect inputs.

Scene objects of an effect like particle emitters and force fields have properties that do not change over time, but can be affected by effect inputs. Such properties are represented by one of the PixelpartStaticProperty classes.

Member Function Documentation

◆ get_base_value()

float godot::PixelpartStaticPropertyFloat::get_base_value ( ) const

Return value without effect inputs taken into account.

Returns
Value without effect inputs taken into account

◆ set_base_value()

void godot::PixelpartStaticPropertyFloat::set_base_value ( float value)

Set value without effect inputs taken into account.

Parameters
valueValue without effect inputs taken into account

◆ value()

float godot::PixelpartStaticPropertyFloat::value ( ) const

Return value with effect inputs taken into account.

Returns
Value with effect inputs taken into account

The documentation for this class was generated from the following files: