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,
	Vector3 position,
	Vector3 orientation,
	float scale,
	float mass,
	Model model,
	ICamera camera
)
Visual Basic (Declaration)
Public Sub New ( _
	graphicsDevice As GraphicsDevice, _
	name As String, _
	position As Vector3, _
	orientation As Vector3, _
	scale As Single, _
	mass As Single, _
	model As Model, _
	camera As ICamera _
)
Visual C++
public:
Actor(
	GraphicsDevice^ graphicsDevice, 
	String^ name, 
	Vector3 position, 
	Vector3 orientation, 
	float scale, 
	float mass, 
	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.Vector3,Microsoft.Xna.Framework.Vector3,System.Single,System.Single,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.Vector3,Microsoft.Xna.Framework.Vector3,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Model,Bespoke.Games.Framework.ICamera)"]

position
Type: Vector3

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

orientation
Type: Vector3

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

scale
Type: System..::.Single

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

mass
Type: System..::.Single

[Missing <param name="mass"/> documentation for "M:Bespoke.Games.Framework.Actor.#ctor(Microsoft.Xna.Framework.Graphics.GraphicsDevice,System.String,Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3,System.Single,System.Single,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.Vector3,Microsoft.Xna.Framework.Vector3,System.Single,System.Single,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.Vector3,Microsoft.Xna.Framework.Vector3,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Model,Bespoke.Games.Framework.ICamera)"]

See Also