MElementClass Class Methods

For a list of all members of this type, see MElementClass members.

Public Methods
 NameDescription
Public MethodAttributesBoolGetGets value of attribute. This method works only with attributes, whose values are boolean.  
Public MethodAttributesBoolSetSets value to attribute. This method works only with attributes, whose values are boolean.  
Public MethodAttributesCloneCreates a copy of attributes.  
Public MethodAttributesDoubleGetGets value of attribute. This method works only with attributes, whose values are double.  
Public MethodAttributesDoubleSetSets value to attribute. This method works only with attributes, whose values are double.  
Public MethodAttributesGetByIndexGets attribute by its index.  
Public MethodAttributesGetCountGets count of attributes.  
Public MethodAttributesHaveIndicates whether the attribute is existed.  
Public MethodAttributesInfoGetGet attribute information (see eMInfoType for details)  
Public MethodAttributesInfoGetByIndexGet attribute information by index of the attribute.  
Public MethodAttributesInfoGetCountGets the count of attribute information fields.  
Public MethodAttributesIntGetGets value of attribute. This method works only with attributes, whose values are integer.  
Public MethodAttributesIntSetSets value of attribute. This method works only with attributes, whose values are integer.  
Public MethodAttributesMultipleSetSets values to collection of attributes.  
Public MethodAttributesRemoveRemoves the attribute.  
Public MethodAttributesRemoveAllRemoves all attributes.  
Public MethodAttributesSaveSaves all attributes to string.  
Public MethodAttributesSetSets multiple attributes.  
Public MethodAttributesStringGetGets value of attribute. This method works only with attributes, whose values are strings.  
Public MethodAttributesStringSetSets value of attribute. This method works only with attributes, whose values are strings.  
Public MethodAttributesValuesInfoGetGets information about values of the attribute  
Public MethodElementAbsolutePosGetGets absolute position of the scene element (not relative to a parent).  
Public MethodElementAbsolutePosSetSets absolute position of the scene element (not relative to a parent).  
Public MethodElementBoolSetSets attribute value smoothly during the time interval. This method works only with attributes, whose values are boolean.  
Public MethodElementDetachRemoves the element smoothly.  
Public MethodElementDoubleSetSets attribute value smoothly during the time interval. This method works only with attributes, whose values are double.  
Public MethodElementGetGets whole information about the element.  
Public MethodElementInfoGetGets information about this element  
Public MethodElementInvokeCalls special action for the element (for example, select, highlight and so on).  
Public MethodElementMediaSetChanges media content of the element (optionall with transitions).  
Public MethodElementMultipleSetSets values to collection of attributes for the element smoothly.  
Public MethodElementParentGetGets an parent element of the current element.  
Public MethodElementParentSetSets a parent element of the current element.  
Public MethodElementReorderChanges the order of the element. Only for 2D case.  
Public MethodElementsAddAdds new element. If such element exists then replace it with new one.  
Public MethodElementSetChanges the whole element.  
Public MethodElementsGetByIDGets the scene element by its ID.  
Public MethodElementsGetByIndexGets the scene element by its index.  
Public MethodElementsGetCountGets count of scene elements.  
Public MethodElementsMediaAddAdds new element with media. If such element exists then replace it with new one.  
Public MethodElementStringSetSets attribute value smoothly during the time interval. This method works only with attributes, whose values are strings.  
Public MethodElementTypeGetReturns type of the element.  
Public MethodPersistLoadLoads the data from string or from file.  
Public MethodPersistSaveToFileSaves the configuration data to the file.  
Public MethodPersistSaveToStringSaves the configuration data to string.  
Top
See Also

Reference

MElementClass Class
MPLATFORMLib Namespace