s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية

Constructors

functionsRotation

Properties

data_objectBackwarddata_objectConjugatedata_objectDowndata_objectForwarddata_objectInversedata_objectLeftdata_objectNormaldata_objectRightdata_objectUpdata_objectwdata_objectxdata_objectydata_objectz

Methods

functionsAlmostEqualfunctionsAnglefunctionsAnglesfunctionsClampfunctionsClosestAxisfunctionsDistancefunctionsLerpTofunctionsPitchfunctionsRollfunctionsRotateAroundAxisfunctionsSlerpTofunctionsYaw

Static Fields

crop_dinIdentity

Static Properties

data_objectRandom

Static Methods

functionsDifferencefunctionsFromfunctionsFromAxisfunctionsFromPitchfunctionsFromRollfunctionsFromToRotationfunctionsFromYawfunctionsLerpfunctionsLookAtfunctionsParsefunctionsSlerpfunctionsSmoothDampfunctionsTryParse
menu
Api
Common Structs
Rotation
RotateAroundAxis

Rotation RotateAroundAxis( Vector3 axis, float degrees )

Summary

A convenience function that rotates this rotation around a given axis given amount of degrees

Remarks

['paramref'] vector must be normalized before calling this method or the resulting Rotation will be incorrect.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter