/**************************************************************************/ /* curve_texture.cpp */ /**************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ /* https://godotengine.org */ /**************************************************************************/ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ /* "Software"), to deal in the Software without restriction, including */ /* without limitation the rights to use, copy, modify, merge, publish, */ /* distribute, sublicense, and/or sell copies of the Software, and to */ /* permit persons to whom the Software is furnished to do so, subject to */ /* the following conditions: */ /* */ /* The above copyright notice and this permission notice shall be */ /* included in all copies or substantial portions of the Software. */ /* */ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ #include "curve_texture.h" void CurveTexture::_bind_methods() { … } void CurveTexture::set_width(int p_width) { … } int CurveTexture::get_width() const { … } void CurveTexture::ensure_default_setup(float p_min, float p_max) { … } void CurveTexture::set_curve(Ref<Curve> p_curve) { … } void CurveTexture::_update() { … } Ref<Curve> CurveTexture::get_curve() const { … } void CurveTexture::set_texture_mode(TextureMode p_mode) { … } CurveTexture::TextureMode CurveTexture::get_texture_mode() const { … } RID CurveTexture::get_rid() const { … } CurveTexture::CurveTexture() { … } CurveTexture::~CurveTexture() { … } ////////////////// void CurveXYZTexture::_bind_methods() { … } void CurveXYZTexture::set_width(int p_width) { … } int CurveXYZTexture::get_width() const { … } void CurveXYZTexture::ensure_default_setup(float p_min, float p_max) { … } void CurveXYZTexture::set_curve_x(Ref<Curve> p_curve) { … } void CurveXYZTexture::set_curve_y(Ref<Curve> p_curve) { … } void CurveXYZTexture::set_curve_z(Ref<Curve> p_curve) { … } void CurveXYZTexture::_update() { … } Ref<Curve> CurveXYZTexture::get_curve_x() const { … } Ref<Curve> CurveXYZTexture::get_curve_y() const { … } Ref<Curve> CurveXYZTexture::get_curve_z() const { … } RID CurveXYZTexture::get_rid() const { … } CurveXYZTexture::CurveXYZTexture() { … } CurveXYZTexture::~CurveXYZTexture() { … }