C# Class Transit.Framework.NetInfoExtensions

显示文件 Open project: Katalyst6/CSL.TransitAddonMod

Public Methods

Method Description
CloneWithoutStops ( this templateLane, string newName = null ) : NetInfo.Lane
DisplayLaneProps ( this info ) : void
FindLane ( this info, bool>.Func predicate, bool crashOnNotFound = true ) : NetInfo.Lane
FindLane ( this info, NetInfo predicate, bool crashOnNotFound = true ) : NetInfo.Lane
ModifyTitle ( this info, string newTitle ) : void
SetAllNodesTexture ( this info, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo
SetAllSegmentsTexture ( this info, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo
SetFlags ( this node, NetNode required, NetNode forbidden ) : NetInfo.Node
SetFlagsDefault ( this segment ) : NetInfo.Segment
SetMeshes ( this node, string newMeshPath, string newLODMeshPath = null ) : NetInfo.Node
SetMeshes ( this segment, string newMeshPath, string newLODMeshPath = null ) : NetInfo.Segment
SetTextures ( this node, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo.Node
SetTextures ( this segment, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo.Segment

Method Details

CloneWithoutStops() public static method

public static CloneWithoutStops ( this templateLane, string newName = null ) : NetInfo.Lane
templateLane this
newName string
return NetInfo.Lane

DisplayLaneProps() public static method

public static DisplayLaneProps ( this info ) : void
info this
return void

FindLane() public static method

public static FindLane ( this info, bool>.Func predicate, bool crashOnNotFound = true ) : NetInfo.Lane
info this
predicate bool>.Func
crashOnNotFound bool
return NetInfo.Lane

FindLane() public static method

public static FindLane ( this info, NetInfo predicate, bool crashOnNotFound = true ) : NetInfo.Lane
info this
predicate NetInfo
crashOnNotFound bool
return NetInfo.Lane

ModifyTitle() public static method

public static ModifyTitle ( this info, string newTitle ) : void
info this
newTitle string
return void

SetAllNodesTexture() public static method

public static SetAllNodesTexture ( this info, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo
info this
newTextures Transit.Framework.Texturing.TextureSet
newLODTextures Transit.Framework.Texturing.LODTextureSet
return NetInfo

SetAllSegmentsTexture() public static method

public static SetAllSegmentsTexture ( this info, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo
info this
newTextures Transit.Framework.Texturing.TextureSet
newLODTextures Transit.Framework.Texturing.LODTextureSet
return NetInfo

SetFlags() public static method

public static SetFlags ( this node, NetNode required, NetNode forbidden ) : NetInfo.Node
node this
required NetNode
forbidden NetNode
return NetInfo.Node

SetFlagsDefault() public static method

public static SetFlagsDefault ( this segment ) : NetInfo.Segment
segment this
return NetInfo.Segment

SetMeshes() public static method

public static SetMeshes ( this node, string newMeshPath, string newLODMeshPath = null ) : NetInfo.Node
node this
newMeshPath string
newLODMeshPath string
return NetInfo.Node

SetMeshes() public static method

public static SetMeshes ( this segment, string newMeshPath, string newLODMeshPath = null ) : NetInfo.Segment
segment this
newMeshPath string
newLODMeshPath string
return NetInfo.Segment

SetTextures() public static method

public static SetTextures ( this node, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo.Node
node this
newTextures Transit.Framework.Texturing.TextureSet
newLODTextures Transit.Framework.Texturing.LODTextureSet
return NetInfo.Node

SetTextures() public static method

public static SetTextures ( this segment, TextureSet newTextures, LODTextureSet newLODTextures = null ) : NetInfo.Segment
segment this
newTextures Transit.Framework.Texturing.TextureSet
newLODTextures Transit.Framework.Texturing.LODTextureSet
return NetInfo.Segment