The Actor type exposes the following members.

Constructors

  NameDescription
ActorOverloaded.

Methods

  NameDescription
CreateOverloaded.
Draw
Allows the actor to draw itself.
DrawBoundingBox
Draw the actor's bounding box.
DrawBoundingShere
Draw the actor's bounding sphere.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetContentItem
Gets the content item associated with the specified key.
(Inherited from SceneObjectBase.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSceneObjectType
Gets the type scene object represented by this object.
(Overrides SceneObjectBase..::.GetSceneObjectType()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InitBoundingBox
InitBoundingSphere
Initialize
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetContentItem
Sets the content item associated with the specified key.
(Inherited from SceneObjectBase.)
ToString
Returns a string representation of the scene object (mName).
(Inherited from SceneObjectBase.)
TransformBoundingBox
Transforms the bounding box.
Update
Allows the actor to update itself.
UpdateBoundingBoxForRendering
UpdateWorldMatrix

Fields

  NameDescription
DefaultDestinationBlend
The default destination blend of the actor (used in conjunction with AlphaBlendEnabled = true).
DefaultMass
The default mass of an actor.
DefaultSourceBlend
The default source blend of the actor (used in conjunction with AlphaBlendEnabled = true).
mAlpha
The actor's alpha (transparency) value.
mAlphaBlendEnabled
mBoneTransforms
Transformation matricies for any bones defined by the actor's 3D model.
mBoundingBox
The bounding box encapsulating the actor.
mBoundingBoxVisible
The visibility of the actor's bounding box.
mBoundingSphere
The bounding sphere encapsulating the actor.
mBoundingSphereVisible
The visibility of the actor's bounding sphere.
mCamera
The camera used to view this actor.
mContentItems
The content items associated with this scene object.
(Inherited from SceneObjectBase.)
mDestinationBlend
mDirection
The direction the actor is facing.
mDrawGroup
Identifier for organizing objects for draw ordering.
(Inherited from SceneObjectBase.)
mDrawOrder
Order in which the scene objects should be drawn, relative to other components of the same DrawGroup.
(Inherited from SceneObjectBase.)
mGraphicsDevice
The GraphicsDevice associated with the actor.
mMass
The mass of the actor.
mModel
The 3D model associated with the actor.
mName
The name of the scene object.
(Inherited from SceneObjectBase.)
ModelContentItemTag
The tag for the model content item.
mOrientation
The orientation of the actor in world space (which way is up).
mPosition
The actor's position in world space.
mRenderStateBuffer
mRight
Gets and sets the right vector of the Matrix.
mScale
The uniform scaling factor for the actor (resizes the model and default bounding volume).
mSourceBlend
mTag
User-defined data.
(Inherited from SceneObjectBase.)
mUntransformedBoundingBox
The untransformed bounding box from the actor.
mVisible
The visible state of the scene object.
(Inherited from SceneObjectBase.)
mWorldMatrix
The actor's world transformation matrix.
SceneObjectType

Properties

  NameDescription
Alpha
Gets or sets the alpha (transparency) of the actor.
AlphaBlendEnabled
Gets or sets the state of alpha (transparency) blending for the actor.
BoundingBox
Gets the oriented bounding box encapsulating the actor.
BoundingBoxVisible
Gets or sets the visibility of the actor's bounding box.
BoundingSphere
Gets the bounding sphere encapsulating the actor.
BoundingSphereVisible
Gets or sets the visibility of the actor's bounding sphere.
Camera
Gets or sets the camera used to view this actor.
ContentItems
Gets the content items associated with the scene object.
(Inherited from SceneObjectBase.)
DestinationBlend
Gets or sets the destination blend of the actor (used in conjunction with AlphaBlendEnabled = true).
Direction
Gets or sets the direction the actor is facing.
DrawGroup
Gets or sets the identifier for organizing objects for draw ordering.
(Inherited from SceneObjectBase.)
DrawOrder
Gets or sets the order in which the scene objects should be drawn, relative to other components of the same DrawGroup.
(Inherited from SceneObjectBase.)
Mass
Gets or sets the mass of the actor.
Model
Gets or sets the 3D model associated with the actor.
ModelContentItem
Gets or sets the content item for the model associated with the actor.
Name
Gets or sets the name of the scene object.
(Inherited from SceneObjectBase.)
Orientation
Gets or sets the actor's orientation in world space (which way is up).
Position
Gets or sets the actor's position in world space.
Right
Gets and sets the right vector of the Matrix.
Scale
Gets or sets the uniform scaling factor for the actor (resizes the model and default bounding volume).
SourceBlend
Gets or sets the source blend of the actor (used in conjunction with AlphaBlendEnabled = true).
Tag
Gets or sets user-defined data.
(Inherited from SceneObjectBase.)
UntransformedBoundingBox
Gets the untransformed axis-aligned bounding box from the actor.
Visible
Gets or sets the visible state of the scene object.
(Inherited from SceneObjectBase.)
WorldMatrix
Gets or sets the actor's world transformation matrix.

Events

  NameDescription
CustomDraw
CustomUpdate

See Also