AtomicNET : AtomicEngine Namespace

Material Class

Describes how to render 3D geometries.

Syntax

public class Material : Resource

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Resource.

Public Constructors

Documentation for this section has not yet been entered.
Construct.

Public Fields

nativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Properties

AlphaToCoverage bool . Documentation for this section has not yet been entered.
AsyncLoadState AsyncLoadState . Documentation for this section has not yet been entered. (Inherited from Resource.)
[read-only]
AuxViewFrameNumber uint . Documentation for this section has not yet been entered.
[read-only]
Category string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
Context Context . Documentation for this section has not yet been entered. (Inherited from AObject.)
CullMode CullMode . Documentation for this section has not yet been entered.
[read-only]
EventSender AObject . Documentation for this section has not yet been entered. (Inherited from AObject.)
FillMode FillMode . Documentation for this section has not yet been entered.
InstantiationType InstantiationType . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
MemoryUse uint . Documentation for this section has not yet been entered. (Inherited from Resource.)
Name string . Documentation for this section has not yet been entered. (Inherited from Resource.)
[read-only]
NameHash StringHash . Documentation for this section has not yet been entered. (Inherited from Resource.)
[read-only]
NativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
NumTechniques uint . Documentation for this section has not yet been entered.
Occlusion bool . Documentation for this section has not yet been entered.
PixelShaderDefines string . Documentation for this section has not yet been entered.
RenderOrder byte . Documentation for this section has not yet been entered.
Scene Scene . Documentation for this section has not yet been entered.
[read-only]
ShaderParameterHash uint . Documentation for this section has not yet been entered.
ShadowCullMode CullMode . Documentation for this section has not yet been entered.
[read-only]
Specular bool . Documentation for this section has not yet been entered.
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
TypeNameStatic string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
UseTimer uint . Documentation for this section has not yet been entered. (Inherited from Resource.)
VertexShaderDefines string . Documentation for this section has not yet been entered.

Public Methods

AddRef ()
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
AddRefSilent ()
Increment reference count. Do not call any lifetime book keeping (Inherited from RefCounted.)
override
BeginLoad (Deserializer) : bool
Load resource from stream. May be called from a worker thread. Return true if successful.
BeginLoad (Deserializer) : bool
Load resource from stream. May be called from a worker thread. Return true if successful. (Inherited from Resource.)
Clone (string) : Material
Clone the material.
static
csb_Atomic_Material_GetClassIDStatic () : IntPtr
Documentation for this section has not yet been entered.
override
EndLoad () : bool
Finish resource loading. Always called from the main thread. Return true if successful.
EndLoad () : bool
Finish resource loading. Always called from the main thread. Return true if successful. (Inherited from Resource.)
GetAlphaToCoverage () : bool
Return alpha-to-coverage mode.
GetAsyncLoadState () : AsyncLoadState
Return the asynchronous loading state. (Inherited from Resource.)
GetAuxViewFrameNumber () : uint
Return last auxiliary view rendered frame number.
GetCategory () : string
Return object category. Categories are (optionally) registered along with the object factory. Return an empty string if the object category is not registered. (Inherited from AObject.)
GetContext () : Context
Return execution context. (Inherited from AObject.)
GetCullMode () : CullMode
Return normal culling mode.
GetEventSender () : AObject
Return active event sender. Null outside event handling. (Inherited from AObject.)
GetFillMode () : FillMode
Return polygon fill mode.
GetInstantiationType () : InstantiationType
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetMemoryUse () : uint
Return memory use in bytes, possibly approximate. (Inherited from Resource.)
GetName () : string
Return name. (Inherited from Resource.)
GetNameHash () : StringHash
Return name hash. (Inherited from Resource.)
GetNumTechniques () : uint
Return number of techniques.
GetOcclusion () : bool
Return whether should render occlusion.
GetPass (uint, string) : Pass
Return pass by technique index and pass name.
GetPixelShaderDefines () : string
Return additional pixel shader defines.
GetRenderOrder () : byte
Return render order.
GetScene () : Scene
Return the scene associated with the material for shader parameter animation updates.
GetShaderParameterAnimation (string) : ValueAnimation
Return shader parameter animation.
GetShaderParameterAnimationSpeed (string) : float
Return shader parameter animation speed.
GetShaderParameterAnimationWrapMode (string) : WrapMode
Return shader parameter animation wrap mode.
GetShaderParameterHash () : uint
Return shader parameter hash value. Used as an optimization to avoid setting shader parameters unnecessarily.
GetShadowCullMode () : CullMode
Return culling mode for shadows.
GetSpecular () : bool
Return whether should render specular.
GetSubsystem (StringHash) : AObject
Return subsystem by type. (Inherited from AObject.)
GetTechnique (uint) : Technique
Return technique by index.
GetTexture (TextureUnit) : Texture
Return texture by unit.
static
GetTextureUnitName (TextureUnit) : string
Return name for texture unit.
override
GetTypeName () : string
Return type name. (Inherited from AObject.)
GetTypeName () : string
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetUseTimer () : uint
Return time since last use in milliseconds. If referred to elsewhere than in the resource cache, returns always zero. (Inherited from Resource.)
GetVertexShaderDefines () : string
Return additional vertex shader defines.
HasEventHandlers () : bool
Return whether has subscribed to any event. (Inherited from AObject.)
HasSubscribedToEvent (StringHash) : bool
Return whether has subscribed to an event without specific sender. (Inherited from AObject.)
HasSubscribedToEvent (AObject, StringHash) : bool
Return whether has subscribed to a specific sender's event. (Inherited from AObject.)
IsInstanceOf (StringHash) : bool
Check current instance is type of specified type. (Inherited from AObject.)
override
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from AObject.)
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
Load (Deserializer) : bool
Documentation for this section has not yet been entered. (Inherited from Resource.)
MarkForAuxView (uint)
Mark material for auxiliary view rendering.
Refs () : int
Return reference count. (Inherited from RefCounted.)
ReleaseRef ()
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
ReleaseShaders ()
Reset all shader pointers.
RemoveShaderParameter (string)
Remove shader parameter.
ResetUseTimer ()
Reset last used timer. (Inherited from Resource.)
override
Save (Serializer) : bool
Save resource. Return true if successful.
Save (Serializer) : bool
Save resource. Return true if successful. (Inherited from Resource.)
SendEvent (string, ScriptVariantMap)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SetAlphaToCoverage (bool)
Set alpha-to-coverage mode on all passes.
SetAsyncLoadState (AsyncLoadState)
Set the asynchronous loading state. Called by ResourceCache. Resources in the middle of asynchronous loading are not normally returned to user. (Inherited from Resource.)
SetCullMode (CullMode)
Set culling mode.
SetFillMode (FillMode)
Set polygon fill mode. Interacts with the camera's fill mode setting so that the "least filled" mode will be used.
SetInstantiationType (InstantiationType)
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
SetMemoryUse (uint)
Set memory use in bytes, possibly approximate. (Inherited from Resource.)
SetName (string)
Set name. (Inherited from Resource.)
SetNumTechniques (uint)
Set number of techniques.
SetOcclusion (bool)
Set whether to use in occlusion rendering. Default true.
SetPixelShaderDefines (string)
Set additional pixel shader defines. Separate multiple defines with spaces. Setting defines at the material level causes technique(s) to be cloned as necessary.
SetRenderOrder (byte)
Set 8-bit render order within pass. Default 128. Lower values will render earlier and higher values later, taking precedence over e.g. state and distance sorting.
SetScene (Scene)
Associate the material with a scene to ensure that shader parameter animation happens in sync with scene update, respecting the scene time scale. If no scene is set, the global update events will be used.
SetShaderParameter (string, ScriptVariant)
Documentation for this section has not yet been entered.
SetShaderParameterAnimation (string, ValueAnimation, WrapMode, float)
Documentation for this section has not yet been entered.
SetShaderParameterAnimationSpeed (string, float)
Set shader parameter animation speed.
SetShaderParameterAnimationWrapMode (string, WrapMode)
Set shader parameter animation wrap mode.
SetShadowCullMode (CullMode)
Set culling mode for shadows.
SetTechnique (uint, Technique, uint, float)
Set technique.
SetTexture (TextureUnit, Texture)
Set texture.
SetUVTransform (Vector2, float, Vector2)
Set texture coordinate transform.
SetUVTransform (Vector2, float, float)
Set texture coordinate transform.
SetVertexShaderDefines (string)
Set additional vertex shader defines. Separate multiple defines with spaces. Setting defines at the material level causes technique(s) to be cloned as necessary.
SortTechniques ()
Ensure that material techniques are listed in correct order.
SubscribeToEvent (string, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (uint, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (AObject, string, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (AObject, uint, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent<T> (NativeEventDelegate<T>)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent<T> (AObject, NativeEventDelegate<T>)
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromAllEvents ()
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEvent (StringHash)
Unsubscribe from an event. (Inherited from AObject.)
UnsubscribeFromEvent (uint)
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEvent (AObject, StringHash)
Unsubscribe from a specific sender's event. (Inherited from AObject.)
UnsubscribeFromEvent<T> ()
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEventReceiver (AObject)
Unsubscribe from event for specific receiver (where the event handler isn't necessarily in the subscribed object) (Inherited from AObject.)
UnsubscribeFromEvents (AObject)
Unsubscribe from a specific sender's events. (Inherited from AObject.)
WeakRefs () : int
Return weak reference count. (Inherited from RefCounted.)

Member Details

Material Constructor

Documentation for this section has not yet been entered.

Syntax

public Material ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Material Constructor

Construct.

Syntax

public Material (IntPtr native)

Parameters

native
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AlphaToCoverage Property

Documentation for this section has not yet been entered.

Syntax

public bool AlphaToCoverage { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AuxViewFrameNumber Property

Documentation for this section has not yet been entered.

Syntax

public uint AuxViewFrameNumber { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

BeginLoad Method

Load resource from stream. May be called from a worker thread. Return true if successful.

Syntax

public override bool BeginLoad (Deserializer source)

Parameters

source
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Clone Method

Clone the material.

Syntax

public Material Clone (string cloneName)

Parameters

cloneName
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

csb_Atomic_Material_GetClassIDStatic Method

Documentation for this section has not yet been entered.

Syntax

public static IntPtr csb_Atomic_Material_GetClassIDStatic ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CullMode Property

Documentation for this section has not yet been entered.

Syntax

public CullMode CullMode { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

EndLoad Method

Finish resource loading. Always called from the main thread. Return true if successful.

Syntax

public override bool EndLoad ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

FillMode Property

Documentation for this section has not yet been entered.

Syntax

public FillMode FillMode { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAlphaToCoverage Method

Return alpha-to-coverage mode.

Syntax

public bool GetAlphaToCoverage ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAuxViewFrameNumber Method

Return last auxiliary view rendered frame number.

Syntax

public uint GetAuxViewFrameNumber ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCullMode Method

Return normal culling mode.

Syntax

public CullMode GetCullMode ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetFillMode Method

Return polygon fill mode.

Syntax

public FillMode GetFillMode ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetNumTechniques Method

Return number of techniques.

Syntax

public uint GetNumTechniques ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetOcclusion Method

Return whether should render occlusion.

Syntax

public bool GetOcclusion ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetPass Method

Return pass by technique index and pass name.

Syntax

public Pass GetPass (uint index, string passName)

Parameters

index
Documentation for this section has not yet been entered.
passName
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetPixelShaderDefines Method

Return additional pixel shader defines.

Syntax

public string GetPixelShaderDefines ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetRenderOrder Method

Return render order.

Syntax

public byte GetRenderOrder ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetScene Method

Return the scene associated with the material for shader parameter animation updates.

Syntax

public Scene GetScene ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetShaderParameterAnimation Method

Return shader parameter animation.

Syntax

public ValueAnimation GetShaderParameterAnimation (string name)

Parameters

name
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetShaderParameterAnimationSpeed Method

Return shader parameter animation speed.

Syntax

public float GetShaderParameterAnimationSpeed (string name)

Parameters

name
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetShaderParameterAnimationWrapMode Method

Return shader parameter animation wrap mode.

Syntax

public WrapMode GetShaderParameterAnimationWrapMode (string name)

Parameters

name
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetShaderParameterHash Method

Return shader parameter hash value. Used as an optimization to avoid setting shader parameters unnecessarily.

Syntax

public uint GetShaderParameterHash ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetShadowCullMode Method

Return culling mode for shadows.

Syntax

public CullMode GetShadowCullMode ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetSpecular Method

Return whether should render specular.

Syntax

public bool GetSpecular ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetTechnique Method

Return technique by index.

Syntax

public Technique GetTechnique (uint index)

Parameters

index
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetTexture Method

Return texture by unit.

Syntax

public Texture GetTexture (TextureUnit unit)

Parameters

unit
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetTextureUnitName Method

Return name for texture unit.

Syntax

public static string GetTextureUnitName (TextureUnit unit)

Parameters

unit
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetVertexShaderDefines Method

Return additional vertex shader defines.

Syntax

public string GetVertexShaderDefines ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

MarkForAuxView Method

Mark material for auxiliary view rendering.

Syntax

public void MarkForAuxView (uint frameNumber)

Parameters

frameNumber
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NumTechniques Property

Documentation for this section has not yet been entered.

Syntax

public uint NumTechniques { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Occlusion Property

Documentation for this section has not yet been entered.

Syntax

public bool Occlusion { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

PixelShaderDefines Property

Documentation for this section has not yet been entered.

Syntax

public string PixelShaderDefines { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ReleaseShaders Method

Reset all shader pointers.

Syntax

public void ReleaseShaders ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RemoveShaderParameter Method

Remove shader parameter.

Syntax

public void RemoveShaderParameter (string name)

Parameters

name
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RenderOrder Property

Documentation for this section has not yet been entered.

Syntax

public byte RenderOrder { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Save Method

Save resource. Return true if successful.

Syntax

public override bool Save (Serializer dest)

Parameters

dest
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Scene Property

Documentation for this section has not yet been entered.

Syntax

public Scene Scene { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetAlphaToCoverage Method

Set alpha-to-coverage mode on all passes.

Syntax

public void SetAlphaToCoverage (bool enable)

Parameters

enable
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCullMode Method

Set culling mode.

Syntax

public void SetCullMode (CullMode mode)

Parameters

mode
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetFillMode Method

Set polygon fill mode. Interacts with the camera's fill mode setting so that the "least filled" mode will be used.

Syntax

public void SetFillMode (FillMode mode)

Parameters

mode
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetNumTechniques Method

Set number of techniques.

Syntax

public void SetNumTechniques (uint num)

Parameters

num
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetOcclusion Method

Set whether to use in occlusion rendering. Default true.

Syntax

public void SetOcclusion (bool enable)

Parameters

enable
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetPixelShaderDefines Method

Set additional pixel shader defines. Separate multiple defines with spaces. Setting defines at the material level causes technique(s) to be cloned as necessary.

Syntax

public void SetPixelShaderDefines (string defines)

Parameters

defines
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetRenderOrder Method

Set 8-bit render order within pass. Default 128. Lower values will render earlier and higher values later, taking precedence over e.g. state and distance sorting.

Syntax

public void SetRenderOrder (byte order)

Parameters

order
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetScene Method

Associate the material with a scene to ensure that shader parameter animation happens in sync with scene update, respecting the scene time scale. If no scene is set, the global update events will be used.

Syntax

public void SetScene (Scene scene)

Parameters

scene
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetShaderParameter Method

Documentation for this section has not yet been entered.

Syntax

public void SetShaderParameter (string name, ScriptVariant variant)

Parameters

name
Documentation for this section has not yet been entered.
variant
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetShaderParameterAnimation Method

Documentation for this section has not yet been entered.

Syntax

public void SetShaderParameterAnimation (string name, ValueAnimation animation, WrapMode wrapMode, float speed)

Parameters

name
Documentation for this section has not yet been entered.
animation
Documentation for this section has not yet been entered.
wrapMode
Documentation for this section has not yet been entered.
speed
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetShaderParameterAnimationSpeed Method

Set shader parameter animation speed.

Syntax

public void SetShaderParameterAnimationSpeed (string name, float speed)

Parameters

name
Documentation for this section has not yet been entered.
speed
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetShaderParameterAnimationWrapMode Method

Set shader parameter animation wrap mode.

Syntax

public void SetShaderParameterAnimationWrapMode (string name, WrapMode wrapMode)

Parameters

name
Documentation for this section has not yet been entered.
wrapMode
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetShadowCullMode Method

Set culling mode for shadows.

Syntax

public void SetShadowCullMode (CullMode mode)

Parameters

mode
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetTechnique Method

Set technique.

Syntax

public void SetTechnique (uint index, Technique tech, uint qualityLevel, float lodDistance)

Parameters

index
Documentation for this section has not yet been entered.
tech
Documentation for this section has not yet been entered.
qualityLevel
Documentation for this section has not yet been entered.
lodDistance
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetTexture Method

Set texture.

Syntax

public void SetTexture (TextureUnit unit, Texture texture)

Parameters

unit
Documentation for this section has not yet been entered.
texture
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetUVTransform Method

Set texture coordinate transform.

Syntax

public void SetUVTransform (Vector2 offset, float rotation, Vector2 repeat)

Parameters

offset
Documentation for this section has not yet been entered.
rotation
Documentation for this section has not yet been entered.
repeat
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetUVTransform Method

Set texture coordinate transform.

Syntax

public void SetUVTransform (Vector2 offset, float rotation, float repeat)

Parameters

offset
Documentation for this section has not yet been entered.
rotation
Documentation for this section has not yet been entered.
repeat
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetVertexShaderDefines Method

Set additional vertex shader defines. Separate multiple defines with spaces. Setting defines at the material level causes technique(s) to be cloned as necessary.

Syntax

public void SetVertexShaderDefines (string defines)

Parameters

defines
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ShaderParameterHash Property

Documentation for this section has not yet been entered.

Syntax

public uint ShaderParameterHash { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ShadowCullMode Property

Documentation for this section has not yet been entered.

Syntax

public CullMode ShadowCullMode { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SortTechniques Method

Ensure that material techniques are listed in correct order.

Syntax

public void SortTechniques ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Specular Property

Documentation for this section has not yet been entered.

Syntax

public bool Specular { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

VertexShaderDefines Property

Documentation for this section has not yet been entered.

Syntax

public string VertexShaderDefines { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0