mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[cpp] Add accessors for MeshAttachment::_regionDegrees. Fixes #1480.
This commit is contained in:
parent
e52d8acc84
commit
e583531ae0
@ -81,6 +81,9 @@ namespace spine {
|
|||||||
bool getRegionRotate();
|
bool getRegionRotate();
|
||||||
void setRegionRotate(bool inValue);
|
void setRegionRotate(bool inValue);
|
||||||
|
|
||||||
|
int getRegionDegrees();
|
||||||
|
void setRegionDegrees(int inValue);
|
||||||
|
|
||||||
float getRegionOffsetX();
|
float getRegionOffsetX();
|
||||||
void setRegionOffsetX(float inValue);
|
void setRegionOffsetX(float inValue);
|
||||||
|
|
||||||
|
|||||||
@ -193,6 +193,14 @@ void MeshAttachment::setRegionRotate(bool inValue) {
|
|||||||
_regionRotate = inValue;
|
_regionRotate = inValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int MeshAttachment::getRegionDegrees() {
|
||||||
|
return _regionDegrees;
|
||||||
|
}
|
||||||
|
|
||||||
|
void MeshAttachment::setRegionDegrees(int inValue) {
|
||||||
|
_regionDegrees = inValue;
|
||||||
|
}
|
||||||
|
|
||||||
float MeshAttachment::getRegionOffsetX() {
|
float MeshAttachment::getRegionOffsetX() {
|
||||||
return _regionOffsetX;
|
return _regionOffsetX;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user