Nastaví vlastnosti automatické rotace ve stupních.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public void SetAutoRotationDgr( Vector3 axis, float speed ) |
Parametry
- axis
- Typ: Vector3
Vektor Vector3 určuje osu, podle které se bude sprite otáčet.
- speed
- Typ: System..::.Single
Určuje rychlost otáčení ve stupních.