ModelComponentExtensions Class

Summary

Extension methods for ModelComponent.
Namespace
StrideToolkit.Engine
Base Types
  • object
graph BT Type-->Base0["object"] Type["ModelComponentExtensions"] class Type type-node

Syntax

public static class ModelComponentExtensions

Methods

Name Value Summary
SetMaterialParameter<T>(ModelComponent, ObjectParameterAccessor<T>, T, int, int) void
Sets an object of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ObjectParameterKey<T>, T, int, int) void
Sets an object of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, PermutationParameter<T>, T, int, int) void
Sets a permutation of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, PermutationParameterKey<T>, T, int, int) void
Sets a permutation of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameter<T>, int, T, int, int) void
Sets blittable values of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameter<T>, T, int, int) void
Sets a blittable value of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameter<T>, T, int, int) void
Sets blittable value of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameterKey<T>, int, T, int, int) void
Sets blittable values of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameterKey<T>, T, int, int) void
Sets a blittable value of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameterKey<T>, T, int, int) void
Sets a blittable of the material pass parameter. Cloning the Material if required.
static
SetMaterialParameter<T>(ModelComponent, ValueParameterKey<T>, T[], int, int) void
Sets blittable values of the material pass parameter. Cloning the Material if required.
static