ParticlesMaterial¶
Inherits: Material < Resource < Reference < Object
Category: Core
Brief Description¶
Member Functions¶
Member Variables¶
- float angle
- Texture angle_curve
- float angle_random
- float angular_velocity
- Texture angular_velocity_curve
- float angular_velocity_random
- bool anim_loop
- float anim_offset
- Texture anim_offset_curve
- float anim_offset_random
- float anim_speed
- Texture anim_speed_curve
- float anim_speed_random
- Color color
- Texture color_ramp
- float damping
- Texture damping_curve
- float damping_random
- Vector3 emission_box_extents
- Texture emission_color_texture
- Texture emission_normal_texture
- int emission_point_count
- Texture emission_point_texture
- int emission_shape
- float emission_sphere_radius
- bool flag_align_y
- bool flag_disable_z
- bool flag_rotate_y
- float flatness
- Vector3 gravity
- float hue_variation
- Texture hue_variation_curve
- float hue_variation_random
- float initial_velocity
- float initial_velocity_random
- float linear_accel
- Texture linear_accel_curve
- float linear_accel_random
- float orbit_velocity
- Texture orbit_velocity_curve
- float orbit_velocity_random
- float radial_accel
- Texture radial_accel_curve
- float radial_accel_random
- float scale
- Texture scale_curve
- float scale_random
- float spread
- float tangential_accel
- Texture tangential_accel_curve
- float tangential_accel_random
- GradientTexture trail_color_modifier
- int trail_divisor
- CurveTexture trail_size_modifier
Numeric Constants¶
- PARAM_INITIAL_LINEAR_VELOCITY = 0
- PARAM_ANGULAR_VELOCITY = 1
- PARAM_ORBIT_VELOCITY = 2
- PARAM_LINEAR_ACCEL = 3
- PARAM_RADIAL_ACCEL = 4
- PARAM_TANGENTIAL_ACCEL = 5
- PARAM_DAMPING = 6
- PARAM_ANGLE = 7
- PARAM_SCALE = 8
- PARAM_HUE_VARIATION = 9
- PARAM_ANIM_SPEED = 10
- PARAM_ANIM_OFFSET = 11
- PARAM_MAX = 12
- FLAG_ALIGN_Y_TO_VELOCITY = 0
- FLAG_ROTATE_Y = 1
- FLAG_MAX = 4
- EMISSION_SHAPE_POINT = 0
- EMISSION_SHAPE_SPHERE = 1
- EMISSION_SHAPE_BOX = 2
- EMISSION_SHAPE_POINTS = 3
- EMISSION_SHAPE_DIRECTED_POINTS = 4
Member Function Description¶
- Color get_color ( ) const
- Texture get_color_ramp ( ) const
- Vector3 get_emission_box_extents ( ) const
- Texture get_emission_color_texture ( ) const
- Texture get_emission_normal_texture ( ) const
- int get_emission_point_count ( ) const
- Texture get_emission_point_texture ( ) const
- int get_emission_shape ( ) const
- float get_emission_sphere_radius ( ) const
- float get_flatness ( ) const
- Vector3 get_gravity ( ) const
- float get_spread ( ) const
- GradientTexture get_trail_color_modifier ( ) const
- int get_trail_divisor ( ) const
- CurveTexture get_trail_size_modifier ( ) const
- void set_color ( Color color )
- void set_color_ramp ( Texture ramp )
- void set_emission_box_extents ( Vector3 extents )
- void set_emission_color_texture ( Texture texture )
- void set_emission_normal_texture ( Texture texture )
- void set_emission_point_count ( int point_count )
- void set_emission_point_texture ( Texture texture )
- void set_emission_shape ( int shape )
- void set_emission_sphere_radius ( float radius )
- void set_flatness ( float amount )
- void set_gravity ( Vector3 accel_vec )
- void set_spread ( float degrees )
- void set_trail_color_modifier ( GradientTexture texture )
- void set_trail_divisor ( int divisor )
- void set_trail_size_modifier ( CurveTexture texture )