Initial
This commit is contained in:
44
README.md
Normal file
44
README.md
Normal file
@@ -0,0 +1,44 @@
|
||||
### Usage Example
|
||||
|
||||
```
|
||||
local playerVob = Vob(getPlayerPtr(heroId))
|
||||
|
||||
Camera.modeChangeEnabled = false
|
||||
Camera.movementEnabled = false
|
||||
|
||||
setTargetVob(playerVob)
|
||||
// or you can specify node
|
||||
setTargetVob(playerVob, "BIP01 HEAD")
|
||||
```
|
||||
|
||||
### API
|
||||
|
||||
```
|
||||
bool isContolsDisabled()
|
||||
|
||||
Vob getTargetVob()
|
||||
string getTargetNode()
|
||||
|
||||
float getXAxisSensitivity()
|
||||
float getYAxisSensitivity()
|
||||
float getZoomSensitivity()
|
||||
|
||||
bool isYAxisInverted()
|
||||
|
||||
float getMinDistance()
|
||||
float getMaxDistance()
|
||||
float getCurrentDistance()
|
||||
|
||||
void setTargetVob(Vob vob, string node = "")
|
||||
|
||||
void setControlsDisabled(float value)
|
||||
|
||||
void setXAxisSensitivity(float value)
|
||||
void setYAxisSensitivity(float value)
|
||||
void setZoomSensitivity(float value)
|
||||
|
||||
void setYAxisInverted(float value)
|
||||
|
||||
void setMinDistance(float value)
|
||||
void setMaxDistance(float value)
|
||||
```
|
||||
Reference in New Issue
Block a user