get_target_size


Description:

[ Version ( deprecated = true , deprecated_since = "1.14" , since = "1.8" ) ]
public bool get_target_size (out float width, out float height)

Warning: get_target_size is deprecated since 1.14.

Retrieves the size of the offscreen buffer used by this to paint the actor to which it has been applied.

Note:

Use get_target_rect instead

This function should only be called by OffscreenEffect implementations, from within the paint_target virtual function.

Parameters:

this

a OffscreenEffect

width

return location for the target width, or null

height

return location for the target height, or null

Returns:

true if the offscreen buffer has a valid size, and false otherwise