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

Vector2 property affected by effect inputs. More...

Public Member Functions

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

Public Attributes

Vector2 base_value
 Value without effect inputs taken into account.
 

Detailed Description

Vector2 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()

Vector2 godot::PixelpartStaticPropertyFloat2::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::PixelpartStaticPropertyFloat2::set_base_value ( Vector2 value)

Set value without effect inputs taken into account.

Parameters
valueValue without effect inputs taken into account

◆ value()

Vector2 godot::PixelpartStaticPropertyFloat2::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: