SO3Engine
|
SO3NodeScol.h
Go to the documentation of this file.
47 NODE_TYPE_ID = 0,
48 ENTITY_TYPE_ID = 1,
49 CAMERA_TYPE_ID = 2,
50 LIGHT_TYPE_ID = 3,
51 SKELETON_TYPE_ID = 4,
52 BONE_TYPE_ID = 5,
53 PARTICLE_SYSTEM_TYPE_ID = 6,
54 DYNAMIC_CUBE_MAP_ID = 7,
55 DYNAMIC_REFLECTION_MAP_ID = 8,
56 RENDER_TO_TEXTURE_ID = 9,
57 LINE_ENTITY_TYPE_ID = 10,
59 };
74 //$BB initial PRS setInitialState use the local position, and keep this functionnality for animations
379 void SetAutoTracking(const bool& autoTrack, SNode* targetNode=0, const Ogre::Vector3& localDirectionVector=Ogre::Vector3::NEGATIVE_UNIT_Z, const Ogre::Vector3& offset=Ogre::Vector3::ZERO);
387 virtual void Pitch(const float& radianAngle, const SNode::NodeTransformSpace& relativeTo=SNode::SO3_LOCAL_TS);
391 virtual void Yaw(const float& radianAngle, const SNode::NodeTransformSpace& relativeTo=SNode::SO3_LOCAL_TS);
395 virtual void Roll(const float& radianAngle, const SNode::NodeTransformSpace& relativeTo=SNode::SO3_LOCAL_TS);
399 virtual void Rotate(const Ogre::Vector3& axis, const float& radianAngle, const SNode::NodeTransformSpace& relativeTo=SNode::SO3_LOCAL_TS);
403 virtual void Translate(const Ogre::Vector3& d, const SNode::NodeTransformSpace& relativeTo=SNode::SO3_PARENT_TS);
407 void SetDirection(const Ogre::Vector3& vec, const SNode::NodeTransformSpace& relativeTo=SNode::SO3_LOCAL_TS, const Ogre::Vector3& localDirectionVector = Ogre::Vector3::NEGATIVE_UNIT_Z);
411 Ogre::Vector3 GetDirection(bool derived = false, Ogre::Vector3 axis = Ogre::Vector3::NEGATIVE_UNIT_Z);
415 void LookAt(const Ogre::Vector3& targetPoint, const SNode::NodeTransformSpace& relativeTo, const Ogre::Vector3& localDirectionVector = Ogre::Vector3::NEGATIVE_UNIT_Z);
429 SNodeAnimation* CreateNodeAnimation(const std::string& animationName, const float& animationLength);
495 SBody* CreateBoxBody(const Ogre::Vector3& boxsetting, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
503 SBody* CreateConeBody(const Ogre::Real& radius, const Ogre::Real& height, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
511 SBody* CreateEllipsoidBody(const Ogre::Vector3& size, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
519 SBody* CreateCapsuleBody(const Ogre::Real& radius, const Ogre::Real& height, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
527 SBody* CreateCylinderBody(const Ogre::Real& radius, const Ogre::Real& height, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
535 SBody* CreateChamferCylinderBody(const Ogre::Real& radius, const Ogre::Real& height, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
543 SBody* CreatePyramidBody(const Ogre::Vector3& size, const Ogre::Vector3& offset, const Ogre::Quaternion& quat);
librairies include
Definition SO3Anim.h:42
Definition SO3Body.h:43
Definition SO3DataScol.h:41
Definition SO3NodeAnimation.h:41
Definition SO3NodeScol.h:43
Definition SO3Scene.h:125
Definition SO3DataScol.h:38
std::unordered_map< unsigned short, SAnim * > SAnimIndexMap
Definition SO3Prerequisites.h:263
Generated by 1.9.8