Unigine::World Class
New classes in section:
World Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | virtual int getCollision(const UNIGINE_BOUND_BOX & bb, Vector <ObjectPtr> & objects) const =0 | Searches for all collider objects within a given bounding box. |
- | virtual int getCollision(const UNIGINE_BOUND_SPHERE & bb, Vector<ObjectPtr> & objects) const =0 | Searches for all collider objects within a given bounding sphere. |
- | virtual int getCollision(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, Vector<ObjectPtr> & objects) const =0 | Performs tracing from the p0 point to the p1 point to find all collider objects. |
virtual ObjectPtr getIntersection(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, int mask, int & ret_surface) const=0 | - | Removed. |
virtual ObjectPtr getIntersection(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, int mask, UNIGINE_VEC3 & ret_point, vec3 & ret_normal, int & ret_surface) | - | Removed. |
virtual ObjectPtr getIntersection(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, int mask, UNIGINE_VEC3 & ret_point, vec3 & ret_normal, vec4 & ret_textcoord, int & ret_surface) | virtual ObjectPtr getIntersection(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, int mask, UNIGINE_VEC3 * ret_point, vec3 * ret_normal, vec4 * ret_texcoord, int * ret_index, int * ret_surface) const =0 | Searches for all of the objects intersecting the line. |
- | virtual ObjectPtr getIntersection (const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, int mask, const Vector<NodePtr> & exclude, UNIGINE_VEC3 * ret_point, vec3 * ret_normal, vec4 * ret_texcoord, int * ret_index, int * ret_surface) const =0 | |
- | virtual void setBudget(float budget) const =0 | Sets the world generation budget value for Grass and Clutter objects. |
- | virtual float getBudget() const =0 | Returns the value of the world generation budget for Grass and Clutter objects. |
WorldExtern Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | static int type() | WorldExtern type. |
WorldLayer Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | static int type() | WorldLayer type. |
- | virtual Ptr<Node> getNode() const =0 | Returns a node pointer. |
- | virtual int getNumNodes() const =0 | Returns the number of nodes contained in the world layer. |
- | virtual NodePtr getNode(int num) const =0 | Returns a specified node contained in the world layer. |
WorldPortal Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | static int type() | WorldPortal type. |
WorldSector Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | virtual Ptr<Node> getNode() const =0 | Returns a node pointer. |
- | static int type() | WorldSector type. |
WorldSwitcher Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | static int type() | WorldSwitcher type. |
WorldTrigger Class
UNIGINE | UNIGINE 2.0 | Comments |
---|---|---|
- | virtual Ptr<Node> getNode() const =0 | Returns a node pointer. |
- | static int type() | WorldTrigger type. |
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)