C# Class AcTools.Render.Kn5SpecificForward.ToolsKn5ObjectRenderer

Inheritance: ForwardKn5ObjectRenderer
ファイルを表示 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
Deselect ( ) : void
Dispose ( ) : void
FitAmbientShadowSize ( ) : void
OnClick ( System.Vector2 mousePosition ) : void
OverrideTexture ( string textureName, Color color ) : bool
OverrideTexture ( string textureName, Color color, double alpha ) : bool
OverrideTexture ( string textureName, byte textureBytes ) : bool
OverrideTextureFlakes ( string textureName, Color color ) : bool
OverrideTextureMaps ( string textureName, double reflection, double blur, double specular ) : bool
ResetAmbientShadowSize ( ) : void
SaveTexture ( string filename, Color color ) : System.Threading.Tasks.Task
SaveTexture ( string filename, Color color, double alpha ) : System.Threading.Tasks.Task
SaveTextureFlakes ( string filename, Color color ) : System.Threading.Tasks.Task
ToolsKn5ObjectRenderer ( string mainKn5Filename, string carDirectory = null ) : System
UpdateTextureAsync ( string filename ) : System.Threading.Tasks.Task

Protected Methods

Method Description
DrawAfter ( ) : void
DrawPrepare ( ) : void
DrawSpritesInner ( ) : void
ResizeInner ( ) : void

Private Methods

Method Description
PrepareOutlineBuffer ( ) : void
SaveAndDispose ( string filename, MagickImage image ) : System.Threading.Tasks.Task

Method Details

Deselect() public method

public Deselect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DrawAfter() protected method

protected DrawAfter ( ) : void
return void

DrawPrepare() protected method

protected DrawPrepare ( ) : void
return void

DrawSpritesInner() protected method

protected DrawSpritesInner ( ) : void
return void

FitAmbientShadowSize() public method

public FitAmbientShadowSize ( ) : void
return void

OnClick() public method

public OnClick ( System.Vector2 mousePosition ) : void
mousePosition System.Vector2
return void

OverrideTexture() public method

public OverrideTexture ( string textureName, Color color ) : bool
textureName string
color Color
return bool

OverrideTexture() public method

public OverrideTexture ( string textureName, Color color, double alpha ) : bool
textureName string
color Color
alpha double
return bool

OverrideTexture() public method

public OverrideTexture ( string textureName, byte textureBytes ) : bool
textureName string
textureBytes byte
return bool

OverrideTextureFlakes() public method

public OverrideTextureFlakes ( string textureName, Color color ) : bool
textureName string
color Color
return bool

OverrideTextureMaps() public method

public OverrideTextureMaps ( string textureName, double reflection, double blur, double specular ) : bool
textureName string
reflection double
blur double
specular double
return bool

ResetAmbientShadowSize() public method

public ResetAmbientShadowSize ( ) : void
return void

ResizeInner() protected method

protected ResizeInner ( ) : void
return void

SaveTexture() public method

public SaveTexture ( string filename, Color color ) : System.Threading.Tasks.Task
filename string
color Color
return System.Threading.Tasks.Task

SaveTexture() public method

public SaveTexture ( string filename, Color color, double alpha ) : System.Threading.Tasks.Task
filename string
color Color
alpha double
return System.Threading.Tasks.Task

SaveTextureFlakes() public method

public SaveTextureFlakes ( string filename, Color color ) : System.Threading.Tasks.Task
filename string
color Color
return System.Threading.Tasks.Task

ToolsKn5ObjectRenderer() public method

public ToolsKn5ObjectRenderer ( string mainKn5Filename, string carDirectory = null ) : System
mainKn5Filename string
carDirectory string
return System

UpdateTextureAsync() public method

public UpdateTextureAsync ( string filename ) : System.Threading.Tasks.Task
filename string
return System.Threading.Tasks.Task