namedProperties: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
Line 14: Line 14:
|r1= [[Array]] of [[Array]]s of [[String]]s, in format: <nowiki>[</nowiki>[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]
|r1= [[Array]] of [[Array]]s of [[String]]s, in format: <nowiki>[</nowiki>[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]


|x1= <code>_properties = [[namedProperties]] _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]]</code>
|x1= <sqf>private _properties = namedProperties _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]]</sqf>


|seealso= [[selectionNames]] [[animationNames]] [[Arma 3: Named Properties]] [[allLODs]]
|seealso= [[selectionNames]] [[animationNames]] [[Arma 3: Named Properties]] [[allLODs]]
}}
}}

Revision as of 12:06, 4 May 2022

Hover & click on the images for description

Description

Description:
Returns a list of named properties on Geometry LOD.
Groups:
Object Manipulation

Syntax

Syntax:
namedProperties object
Parameters:
object: Object
Return Value:
Array of Arrays of Strings, in format: [[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]

Examples

Example 1:
private _properties = namedProperties _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]]

Additional Information

See also:
selectionNames animationNames Arma 3: Named Properties allLODs

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note