MorphTargetChannel

MorphTargetChannel

Visão geral

MorphTargetChannel é uma classe em Aspose.3D FOSS para Python. Herda de: A3DObject.

MorphTargetChannel.get_weight(target) retorna o valor de peso para um alvo morph específico.

Esta classe declara 9 métodos para objetos MorphTargetChannel em programas Python. Os métodos disponíveis incluem: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Todos os membros públicos são acessíveis a qualquer aplicação Python após a instalação do pacote Aspose.3D FOSS para Python. Propriedades: channel_weight, name, properties, targets, weights.

Propriedades

NomeTipoAcessoDescrição
weights'list[float]'LeituraObtém os pesos.
channel_weightfloatLeitura/EscritaObtém ou define o peso do canal.
targets'list[Shape]'LeituraObtém os alvos.
namestrLeitura/EscritaObtém ou define o nome.
propertiesPropertyCollectionLeituraObtém as propriedades.

Métodos

AssinaturaDescrição
__init__(name: str)Calls init(name) nesta instância de MorphTargetChannel.
get_weight(target: 'Shape') → floatRetorna o peso atual para o alvo de morph especificado, e set_weight(target, weight) o atualiza
set_weight(target: 'Shape', weight: float)Define o valor do peso.
get_weight(index: int) → floatChama get_weight(index) nesta instância de MorphTargetChannel.
set_weight(index: int, weight: float)Define o valor do peso.
find_property(property_name: str)Chama find_property(property_name) nesta instância de MorphTargetChannel.
get_property(property: str)Chama get_property(property) nesta instância de MorphTargetChannel.
set_property(property: str, value)Define o valor da propriedade.
remove_property(property)Chama remove_property(property) nesta instância de MorphTargetChannel.

Ver também

 Português