MorphTargetChannel

MorphTargetChannel

Overview

MorphTargetChannel 是一个类在Aspose.3D FOSS的.NET中. 继承人: A3DObject, INamedObject.

设置一个 MorphTargetChannel 用于组织目标几何.一些文件格式,如FBX支持多个频道并行运行.

本类提供了在NET程序中与MorphTargetChannel对象工作的8种方法. 有的方法包括: A3DObject, FindProperty, GetProperty, GetWeight, MorphTargetChannel, RemoveProperty, SetProperty, SetWeight. 所有公众成员在安装了Aspose.3D FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: ChannelWeight, DefaultWeight, Name, Properties, Targets, Weights.

Properties

NameTypeAccessDescription
WeightsIList<double>Read得到重量.
ChannelWeightdouble阅读/写作获得或设置道重量.
TargetsIList<Shape>Read抓住目标.
DefaultWeightdoubleRead得到了默认的重量.
Namestring阅读/写作得到或设置名字.
PropertiesPropertyCollectionRead得到了房地产.

Methods

SignatureDescription
MorphTargetChannel(name: string)
MorphTargetChannel()
GetWeight(target: Shape)得到指定目标的重量,如果目标不属于这个频道,则返回默认值0.
SetWeight(target: Shape, weight: double)设置指定目标的重量,默认值为1,范围应该在0~1之间
A3DObject()
RemoveProperty(property: Property)删除动态属性.
GetProperty(property: string)获取指定属性的值.
SetProperty(property: string, value: object?)设置指定属性的值
FindProperty(propertyName: string)找到属性. 它可以是动态属性的 (由 CreateDynamicProperty/SetProperty创建) 或本地属的 ((以其名称识别)

See Also

 中文