mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +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();
|
||||
void setRegionRotate(bool inValue);
|
||||
|
||||
int getRegionDegrees();
|
||||
void setRegionDegrees(int inValue);
|
||||
|
||||
float getRegionOffsetX();
|
||||
void setRegionOffsetX(float inValue);
|
||||
|
||||
|
||||
@ -193,6 +193,14 @@ void MeshAttachment::setRegionRotate(bool inValue) {
|
||||
_regionRotate = inValue;
|
||||
}
|
||||
|
||||
int MeshAttachment::getRegionDegrees() {
|
||||
return _regionDegrees;
|
||||
}
|
||||
|
||||
void MeshAttachment::setRegionDegrees(int inValue) {
|
||||
_regionDegrees = inValue;
|
||||
}
|
||||
|
||||
float MeshAttachment::getRegionOffsetX() {
|
||||
return _regionOffsetX;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user