public class NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> extends Object
WARNING: the created edge is oriented! Its counterpart (from the remote navpoint to newly created one) must be created manually! (If needed.)
| Modifier and Type | Field and Description |
|---|---|
protected int |
collisionH |
protected int |
collisionR |
protected int |
flags |
protected boolean |
forceDoubleJump |
protected javax.vecmath.Vector3d |
neededJump |
protected OWNER |
owner |
protected UnrealId |
toNavPointId |
| Modifier | Constructor and Description |
|---|---|
protected |
NavigationGraphBuilder.NewNavPointEdgeBuilder(OWNER owner) |
protected OWNER owner
protected UnrealId toNavPointId
protected int collisionR
protected int collisionH
protected boolean forceDoubleJump
protected javax.vecmath.Vector3d neededJump
protected int flags
protected NavigationGraphBuilder.NewNavPointEdgeBuilder(OWNER owner)
public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setTo(String navPointId)
NavPointNeighbourLink.getToNavPoint().navPointId - will be auto-prefixed (if enabled, which is default)public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setTo(UnrealId navPointId)
NavPointNeighbourLink.getToNavPoint().navPointId - WON'T BE AUTO-PREFIXED AS IT IS ALREADY EXISTING ID!!!public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setCollisionRadius(int collisionRadius)
NavPointNeighbourLink.getCollisionR().collisionRadius - public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setCollisionHeight(int collisionHeight)
NavPointNeighbourLink.getCollisionH().collisionHeight - public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setNeededJump(double x, double y, double z)
NavPointNeighbourLink.getNeededJump().x - y - z - public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setDoubleJump()
NavPointNeighbourLink.isForceDoubleJump().neededJump - public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setWalkFlag()
LinkFlag.WALK flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setFlyFlag()
LinkFlag.FLY flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setSwimFlag()
LinkFlag.SWIM flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setJumpFlag()
LinkFlag.JUMP flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setDoorFlag()
LinkFlag.DOOR flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setSpecialFlag()
LinkFlag.SPECIAL flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setLadderFlag()
LinkFlag.LADDER flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setProscribedFlag()
LinkFlag.PROSCRIBED flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setForcedFlag()
LinkFlag.FORCED flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public NavigationGraphBuilder.NewNavPointEdgeBuilder<OWNER> setPlayerOnlyFlag()
LinkFlag#PLAYERONLYK flag into flags of the new navpoint edge,
corresponds to NavPointNeighbourLink.getFlags().public OWNER createEdge()
Edge remote end must be set via setTo(String) before otherwise an exception is thrown.
WARNING: the created edge is oriented! Its counterpart (from the remote navpoint to newly created one) must be created manually! (If needed.)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.