Initializes a new instance of the Actor class.

Namespace:  Bespoke.Games.Framework
Assembly:  Bespoke.Games.Framework (in Bespoke.Games.Framework.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public Actor(
	GraphicsDevice graphicsDevice,
	string name,
	Model model,
	ICamera camera
)
Visual Basic (Declaration)
Public Sub New ( _
	graphicsDevice As GraphicsDevice, _
	name As String, _
	model As Model, _
	camera As ICamera _
)
Visual C++
public:
Actor(
	GraphicsDevice^ graphicsDevice, 
	String^ name, 
	Model^ model, 
	ICamera^ camera
)

Parameters

graphicsDevice
Type: GraphicsDevice

[Missing <param name="graphicsDevice"/> documentation for "M:Bespoke.Games.Framework.Actor.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,System.String,Microsoft.Xna.Framework.Graphics.Model,Bespoke.Games.Framework.ICamera)"]

name
Type: System..::.String

[Missing <param name="name"/> documentation for "M:Bespoke.Games.Framework.Actor.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,System.String,Microsoft.Xna.Framework.Graphics.Model,Bespoke.Games.Framework.ICamera)"]

model
Type: Model

[Missing <param name="model"/> documentation for "M:Bespoke.Games.Framework.Actor.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,System.String,Microsoft.Xna.Framework.Graphics.Model,Bespoke.Games.Framework.ICamera)"]

camera
Type: Bespoke.Games.Framework..::.ICamera

[Missing <param name="camera"/> documentation for "M:Bespoke.Games.Framework.Actor.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,System.String,Microsoft.Xna.Framework.Graphics.Model,Bespoke.Games.Framework.ICamera)"]

See Also