Loads and renders Collada (.dae) and MDL
(.mdl) models.
| C# | Visual Basic | Visual C++ |
public interface IAgGxPrimitiveModel : IAgGxPrimitive
Public Interface IAgGxPrimitiveModel _ Implements IAgGxPrimitive
public interface class IAgGxPrimitiveModel : IAgGxPrimitive
| All Members | Methods | Properties | |||
|
|
|
|
|||
| Icon | Member | Description |
|---|---|---|
|
|
CentralBody |
Returns the primitive's central body. This is
the same central body returned from GetDefinition(). If several
properties are desired, it is more efficient to call
GetDefinition() once then make several calls to individual
properties.
|
|
|
CentralBody |
Returns the primitive's central body. This is
the same central body returned from GetDefinition(). If several
properties are desired, it is more efficient to call
GetDefinition() once then make several calls to individual
properties. (Inherited from
IAgGxPrimitive.)
|
|
|
Color |
The model's color. The default is white, which
means this color will have no effect on the model. Otherwise the
model color is blended with this color.
|
|
|
DisplayCondition |
The display condition that affects if this
primitive is rendered.
|
|
|
DisplayCondition |
The display condition that affects if this
primitive is rendered. (Inherited from
IAgGxPrimitive.)
|
|
|
ExponentialScale |
The exponential scale used to enlarge or
shrink the model. The default is 1.0, which means the model is
display using the size in the model file.
|
|
|
GetBoundingSphere(Double % , Double % , Double % , Double % ) |
|
|
|
GetBoundingSphere(Double % , Double % , Double % , Double % ) | (Inherited from
IAgGxPrimitive.)
|
|
|
GetDefinition(IAgGxCentralBody % , AgGxReferenceFrame % , IAgGxPrimitiveRenderer % , AgGxRenderPass % , Double % , Double % , Double % , Double % ) |
|
|
|
GetDefinition(IAgGxCentralBody % , AgGxReferenceFrame % , IAgGxPrimitiveRenderer % , AgGxRenderPass % , Double % , Double % , Double % , Double % ) | (Inherited from
IAgGxPrimitive.)
|
|
|
GetRGB(Byte % , Byte % , Byte % ) |
|
|
|
GetStateBlock(AgGxRenderPass) |
The state block that should be applied before
this primitive is rendered for the given render pass.
|
|
|
GetStateBlock(AgGxRenderPass) |
The state block that should be applied before
this primitive is rendered for the given render
pass. (Inherited from
IAgGxPrimitive.)
|
|
|
Initialize(IAgGxCentralBody, AgGxReferenceFrame, String, Double, Double, Double) |
Loads the model specified by the given URI at
the specified Cartesian location. Currently, only file URIs are
supported.
|
|
|
InitializeCartographic(IAgGxCentralBody, String, Double, Double, Double) |
Loads the model specified by the given URI at
the specified cartographic location. The ReferenceFrame is
automatically set to ReferenceFrameFixed. Currently, only file URIs
are supported.
|
|
|
Load(String) |
Loads a Collada (.dae) and MDL (.mdl) model.
Models are cached so if the same URI is passed to more then one
model primitive, the model is not loaded from disk more then once.
Currently, only file URIs are supported.
|
|
|
Node |
The node in the spatial data structure that
contains this primitive. This was passed to the primitive when it
was added to the primitive manager.
|
|
|
Node |
The node in the spatial data structure that
contains this primitive. This was passed to the primitive when it
was added to the primitive manager. (Inherited from
IAgGxPrimitive.)
|
|
|
OrientationQuaternion |
Quaternion that defines the model's
orientation. The quaternion is a rotation from the model's local
axes to the axes of the reference frame in which the model's
position is defined (e.g. the central body's fixed frame).
|
|
|
Position |
Returns the position of the model in it's
reference frame. This same position can also be returned by calling
GetBoundingSphere(), which is more efficient.
|
|
|
PositionCartographic |
Returns the cartographic position of the
model.
|
|
|
ReferenceFrame |
Returns the reference frame this primitive is
defined and rendered in. This is the same reference frame returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual ???
|
|
|
ReferenceFrame |
Returns the reference frame this primitive is
defined and rendered in. This is the same reference frame returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual ??? (Inherited from
IAgGxPrimitive.)
|
|
|
Render(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass) |
Called to render the primitive. The Renderer
should be used to set states, send draw commands, etc. The render
pass indicates the current rendering pass.
|
|
|
Render(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass) |
Called to render the primitive. The Renderer
should be used to set states, send draw commands, etc. The render
pass indicates the current rendering pass. (Inherited from
IAgGxPrimitive.)
|
|
|
Renderer |
Returns the renderer object used during
rendering. This may be null. This is the same renderer returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual properti???
|
|
|
Renderer |
Returns the renderer object used during
rendering. This may be null. This is the same renderer returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual properti??? (Inherited from
IAgGxPrimitive.)
|
|
|
RenderForPick(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass, IAgGxPickStack) |
Similar to Render() only called when the
primitive is rendered in response to a pick. Since it will only be
written to the back color buffer, effects like texturing can
sometimes be disabled.
|
|
|
RenderForPick(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass, IAgGxPickStack) |
Similar to Render() only called when the
primitive is rendered in response to a pick. Since it will only be
written to the back color buffer, effects like texturing can
sometimes be disabled. (Inherited from
IAgGxPrimitive.)
|
|
|
RenderPasses |
Returns the passes this primitive is rendered
during. This may be logically AgGxRenderPass values logically ORed
together if the primitive is rendered during more then one pass.
This is the same render passes returned from GetDefinition(). If
several proper???
|
|
|
RenderPasses |
Returns the passes this primitive is rendered
during. This may be logically AgGxRenderPass values logically ORed
together if the primitive is rendered during more then one pass.
This is the same render passes returned from GetDefinition(). If
several proper??? (Inherited from
IAgGxPrimitive.)
|
|
|
SetManagerReferences(IAgGxDirtyList, Int32) |
Passes the dirty list held by the primitive
manager to the primitive. The primitive should add itself to the
list whenever it moves otherwise it may be rendered
incorrectly.
|
|
|
SetManagerReferences(IAgGxDirtyList, Int32) |
Passes the dirty list held by the primitive
manager to the primitive. The primitive should add itself to the
list whenever it moves otherwise it may be rendered
incorrectly. (Inherited from
IAgGxPrimitive.)
|
|
|
SetOrientationQuaternion(Double, Double, Double, Double) |
Quaternion that defines the model's
orientation. The quaternion is a rotation from the model's local
axes to the axes of the reference frame in which the model's
position is defined (e.g. the central body's fixed frame).
|
|
|
SetPosition(Double, Double, Double) |
Sets the position, defined by a Cartesian
point in the model's reference frame.
|
|
|
SetPositionCartographic(Double, Double, Double) |
Sets the position of the model using a
cartographics position. Latitude and longitude are defined in
radians. Altitude is in meters.
|
|
|
SetRenderPasses(AgGxRenderPass) |
Defines what passes the model should be
rendered during. By default, this is both opaque and translucent
passes. If you know a model is only opaque or translucent, it is
more efficient to set this to just opaque or translucent. This may
be removed in a futu???
|
|
|
SetRGB(Byte, Byte, Byte) |
Sets the model's color using red, green and
blue components. Each component ranges from 0-255, where 255 is
maximum intensity. The default is white, which means this color
will have no effect on the model. Otherwise the model color is
blended with this colo???
|
|
|
URI |
Returns the URI of the model file.
|
Assembly: AGI.Graphics.Primitives.Interop(Module: AGI.Graphics.Primitives.Interop) Version: 9.0.0.0 (9.0.0.0)