MaterialPartParameters Description abstract class Tinman.Engine.Rendering.Effects.Shared.MaterialPartParameters → <T val> Derived from RenderEffectParameters abstract Shared render effect parameters for MaterialPart objects. Public / Constants ChangedChannel public constant ChangedChannel → (1 << 0:int32) Changed flag for Channel. ChangedFlags public constant ChangedFlags → (1 << 1:int32) Changed flag for Flags. ChangedMap public constant ChangedMap → (1 << 2:int32) Changed flag for Map. ChangedValue public constant ChangedValue → (1 << 3:int32) Changed flag for Value. Public / Methods Set 2 overloads public method Set1 → (1) other in : MaterialPartParameters<T> The material part parameters to copy. Copies all parameter values from the given object to this one. public method Set2 → (4) cache in : IResourceCache [not-null] The resource cache to use. part in : IMaterialPart<T> [not-null] The model part. replacement in : IModelTexture The model texture replacement to use. value in : bool Set Value? Sets Flags, Map and Value. Public / Attributes Channel public attribute Channel → (get,set) value : int32 The texture channel (RGBA) in the range [0..3]. The texture channel to use. Flags public attribute Flags → (get,set) value : MaterialFlags The texture coordinate flags. The texture coordinate flags. Map public attribute Map → (get,set) value : ITexture2D The texture map. The texture map. Value public attribute Value → (get,set) value : T The material part value. See IMaterialPart.Value Protected / Methods ValueEquals protected abstract method ValueEquals → (2) valueA in : T The first value. valueB in : T The second value. returns → bool true if the values are equal, false if they are not. Compares the given values for equality. ValueSet protected abstract method ValueSet → (3) effect in : IRenderEffectParameters The effect to apply the value to. slot in : int32 The effect parameter slot. value in : T The value to apply. Applies the given value. MaterialParameters MeshParameters