Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Material used for moon rendering.

Namespace: Visual3D.SceneObjects.Skies.Materials
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class MoonRenderMaterial : MultiPassMaterial<MoonShader>
Public Class MoonRenderMaterial _
	Inherits MultiPassMaterial(Of MoonShader)

Members

                  
 All Members  Constructors   Fields   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
MoonRenderMaterial(Moon)
Initializes a new instance of the MoonRenderMaterial class
AssetID (Inherited from Registered.)
AssetInfo (Inherited from Registered.)
AssetOwner
Gets or sets the owner to which this asset belongs and is a member of.
(Inherited from Asset.)
AttachedToOwner(IComponentOwner) (Inherited from EntityComponent.)
BaseAsset (Inherited from Registered.)
BeginPass(Int32, RenderContext) (Inherited from MultiPassMaterial<(Of <(<'TShader>)>)>.)
Clone()()()()
Returns exact copy of material
(Inherited from RenderMaterial.)
Clone(String)
Returns exact copy of material with new name assigned
(Inherited from RenderMaterial.)
ComponentOwner
Owner of this component (contained in it's ".Components" container).
(Inherited from EntityComponent.)
Components
Components that are attached to this Entity.
(Inherited from ComponentBase.)
ComponentsForGlobalSceneFolders (Inherited from ComponentBase.)
Context
Defines the Owner of this component as well as the role (i.e. 'slot') that this component fulfills.
(Inherited from ComponentBase.)
CreateIdentity()()()() (Inherited from Registered.)
CreateIdentityList()()()() (Inherited from Registered.)
CreateInstance(Boolean)
Creates an instance or non-inheriting duplicate of this asset.
(Inherited from Asset.)
CreateService<(Of <<'(TService>)>>)()()()() (Inherited from ComponentBase.)
DetachedFromOwner(IComponentOwner) (Inherited from EntityComponent.)
Dispose()()()() (Inherited from ComponentBase.)
Disposed (Inherited from ComponentBase.)
EndPass(Int32, RenderContext) (Inherited from MultiPassMaterial<(Of <(<'TShader>)>)>.)
ErrorMessage
Returns error message in case if IsValid gets false. Materials are responsible for update this property during OnPrepareForUse.
(Inherited from RenderMaterial.)
FogDisabled
BaseSkyRendermaterial overrides this, based on EnableFogOnSky.
(Inherited from RenderMaterial.)
GetNumberOfPasses(RenderContext) (Inherited from MultiPassMaterial<(Of <(<'TShader>)>)>.)
GetService<(Of <<'(TService>)>>)()()()() (Inherited from ComponentBase.)
GetService<(Of <<'(TService>)>>)(TService%) (Inherited from ComponentBase.)
GlowTexture
Handle (Inherited from Registered.)
HasComponents (Inherited from ComponentBase.)
HasHandle (Inherited from Registered.)
HasName (Inherited from EntityComponent.)
HasPrototype
Gets if a prototype has been specified to inherit instance data from.
(Inherited from Asset.)
HasScope (Inherited from Registered.)
HasUniqueName
Gets if a UniqueName is specified to identify this asset with respect to its owner's other members.
(Inherited from Registered.)
ID (Inherited from Registered.)
IDChanged (Inherited from Registered.)
Initialize()()()()
Initializes the asset so that it might be prepared for use. By default, PrepareForUse() is called from this method as well.
(Inherited from Asset.)
IsDeserialized
Indicates if Instance was created by Deserialization.
(Inherited from ComponentBase.)
IsDisposed
Indicates if resource has been disposed.
(Inherited from Asset.)
IsDisposing
Indicates if resource is in process of Disposing but not fully disposed.
(Inherited from Asset.)
IsGlowEnabled
IsInitialized
Gets if this entity is currently in an initialized (and non-disposed) state.
(Inherited from Asset.)
IsPrototype (Inherited from Asset.)
IsReadyForUse
Gets/sets if asset is ready to be used. Can be set to 'true' in class constructor in order to skip Preparation logic.
(Inherited from Asset.)
IsSaved
Indicates if the component is to be Saved when the owning context is saved (e.g. for components in your scene, this controls whether or not they are saved to the scene file when the scene is saved). Typically objects are 'Saved', unless they are transient to be programmatically created each time.
(Inherited from ComponentBase.)
IsSavedOnCreatingInstance (Inherited from Asset.)
IsUsedForOcclusionQuery
IsValid
Returns true if material is valid. Unless material become ready for use, this property will return false. Actual value will be returned after first PrepareForUse call. Materials are responsible for update IsValid flag during OnPrepareForUse. See also ErrorMessage property for detailed error info.
(Inherited from RenderMaterial.)
MoonTexture
Name (Inherited from EntityComponent.)
NameID (Inherited from EntityComponent.)
NormalMap
OnMemberwiseClone()()()() (Inherited from ComponentBase.)
OwnerActivated(IComponentOwner) (Inherited from EntityComponent.)
OwnerDeactivated(IComponentOwner) (Inherited from EntityComponent.)
OwnerOf<(Of <<'(TOwner>)>>)()()()() (Inherited from Registered.)
Passes (Inherited from MultiPassMaterial<(Of <(<'TShader>)>)>.)
PrepareForUse()()()()
Attempts to prepare asset for use. To be sure, check "IsReadyForUse" after calling this method to ensure it's really ready for use before using it.
(Inherited from Asset.)
Prototype
Gets or sets the prototype, if specified, from which this asset inherits instance data.
(Inherited from Asset.)
Scope (Inherited from Registered.)
SetDynamicAttributes(RuntimeAttributeDictionary) (Inherited from RenderMaterial.)
SetFixedAttributes(RuntimeAttributeDictionary) (Inherited from RenderMaterial.)
Shaders (Inherited from MultiPassMaterial<(Of <(<'TShader>)>)>.)
SourceFile
Gets/Sets the source file for this program.
(Inherited from Asset.)
StorageModule (Inherited from Registered.)
ToString()()()() (Inherited from ComponentBase.)
TransparencyMode (Inherited from MultiPassMaterial<(Of <(<'TShader>)>)>.)
UniqueName (Inherited from Registered.)

Inheritance Hierarchy

System..::..Object
  Visual3D.EntityModel..::..ComponentBase
    Visual3D.EntityModel..::..EntityComponent
      Visual3D..::..Registered
        Visual3D..::..Asset
          Visual3D.Graphics3D.MaterialRendering..::..RenderMaterial
            Visual3D.Graphics3D.MaterialRendering..::..MultiPassMaterial<(Of <(<'MoonShader>)>)>
              Visual3D.SceneObjects.Skies.Materials..::..MoonRenderMaterial

See Also