C# 클래스 TrafficManager.Custom.AI.CustomTramBaseAI

상속: TramBaseAI
파일 보기 프로젝트 열기: Katalyst6/CSL.TransitAddonMod 1 사용 예제들

공개 메소드들

메소드 설명
CustomCalculateSegmentPosition ( ushort vehicleID, Vehicle &vehicleData, PathUnit nextPosition, PathUnit position, uint laneID, byte offset, PathUnit prevPos, uint prevLaneID, byte prevOffset, int index, Vector3 &pos, Vector3 &dir, float &maxSpeed ) : void
CustomCalculateSegmentPositionPathFinder ( ushort vehicleID, Vehicle &vehicleData, PathUnit position, uint laneID, byte offset, Vector3 &pos, Vector3 &dir, float &maxSpeed ) : void
CustomSimulationStep ( ushort vehicleId, Vehicle &vehicleData, Vector3 physicsLodRefPos ) : void
CustomStartPathFind ( ushort vehicleID, Vehicle &vehicleData, Vector3 startPos, Vector3 endPos, bool startBothWays, bool endBothWays ) : bool

메소드 상세

CustomCalculateSegmentPosition() 공개 메소드

public CustomCalculateSegmentPosition ( ushort vehicleID, Vehicle &vehicleData, PathUnit nextPosition, PathUnit position, uint laneID, byte offset, PathUnit prevPos, uint prevLaneID, byte prevOffset, int index, Vector3 &pos, Vector3 &dir, float &maxSpeed ) : void
vehicleID ushort
vehicleData Vehicle
nextPosition PathUnit
position PathUnit
laneID uint
offset byte
prevPos PathUnit
prevLaneID uint
prevOffset byte
index int
pos Vector3
dir Vector3
maxSpeed float
리턴 void

CustomCalculateSegmentPositionPathFinder() 공개 메소드

public CustomCalculateSegmentPositionPathFinder ( ushort vehicleID, Vehicle &vehicleData, PathUnit position, uint laneID, byte offset, Vector3 &pos, Vector3 &dir, float &maxSpeed ) : void
vehicleID ushort
vehicleData Vehicle
position PathUnit
laneID uint
offset byte
pos Vector3
dir Vector3
maxSpeed float
리턴 void

CustomSimulationStep() 공개 메소드

public CustomSimulationStep ( ushort vehicleId, Vehicle &vehicleData, Vector3 physicsLodRefPos ) : void
vehicleId ushort
vehicleData Vehicle
physicsLodRefPos Vector3
리턴 void

CustomStartPathFind() 공개 메소드

public CustomStartPathFind ( ushort vehicleID, Vehicle &vehicleData, Vector3 startPos, Vector3 endPos, bool startBothWays, bool endBothWays ) : bool
vehicleID ushort
vehicleData Vehicle
startPos Vector3
endPos Vector3
startBothWays bool
endBothWays bool
리턴 bool