mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-08 16:24:53 +08:00
[cpp] Add accessors for MeshAttachment::_regionDegrees. Fixes #1480.
This commit is contained in:
parent
e9f816a8ad
commit
83dd267675
@ -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