Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

CanvasModulate

Inherits: Node2D < CanvasItem < Node < Object

A node that applies a color tint to a canvas.

描述

CanvasModulate applies a color tint to all nodes on a canvas. Only one can be used to tint a canvas, but CanvasLayers can be used to render things independently.

属性

Color

color

Color(1, 1, 1, 1)


Property Descriptions

Color color = Color(1, 1, 1, 1)

  • void set_color ( Color value )

  • Color get_color ( )

The tint color to apply.